Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 109.8 kB / 19.58 MB, free: 2.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 191.7 kB / 22.85 MB, free: 5.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 225.6 MB / 251.5 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002515/0.002515, allocations: 287.5 kB / 307 MB, free: 8.332 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.176/1.176, allocations: 180.8 MB / 0.5304 GB, free: 14.51 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002892/0.002892, allocations: 107.2 kB / 0.7311 GB, free: 38.73 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1765, allocations: 94.2 MB / 0.8231 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor): time 0.003616/0.1801, allocations: 1.731 MB / 0.8247 GB, free: 160 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0007943/0.1809, allocations: 0.498 MB / 0.8252 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.695e-05/0.1809, allocations: 4 kB / 0.8252 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004533/0.1814, allocations: 151.4 kB / 0.8254 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.248e-05/0.1815, allocations: 63.73 kB / 0.8254 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002751/0.1818, allocations: 71.72 kB / 0.8255 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.1819, allocations: 95.5 kB / 0.8256 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.012e-05/0.182, allocations: 7.938 kB / 0.8256 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.462e-05/0.182, allocations: 43.78 kB / 0.8256 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.1821, allocations: 51.75 kB / 0.8257 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.1822, allocations: 4 kB / 0.8257 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001964/0.1824, allocations: 79.84 kB / 0.8258 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.835e-05/0.1824, allocations: 51.81 kB / 0.8258 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.647e-05/0.1825, allocations: 67.55 kB / 0.8259 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003018/0.1828, allocations: 195.1 kB / 0.8261 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1828, allocations: 3.938 kB / 0.8261 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.763e-06/0.1828, allocations: 0 / 0.8261 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.1828, allocations: 0 / 0.8261 GB, free: 14.78 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005823/0.1834, allocations: 417 kB / 0.8265 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.1835, allocations: 12.03 kB / 0.8265 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.089e-05/0.1835, allocations: 16.84 kB / 0.8265 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.1837, allocations: 161.6 kB / 0.8267 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.636e-06/0.1837, allocations: 4.375 kB / 0.8267 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.1837, allocations: 384 / 0.8267 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.1839, allocations: 62.23 kB / 0.8267 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.1839, allocations: 3.938 kB / 0.8267 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.1839, allocations: 0 / 0.8267 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1839, allocations: 0 / 0.8267 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001845/0.1841, allocations: 59.94 kB / 0.8268 GB, free: 14 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004876/0.1846, allocations: 311.9 kB / 0.8271 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001561/0.1847, allocations: 66.47 kB / 0.8271 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.1848, allocations: 32.91 kB / 0.8272 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.09e-05/0.1849, allocations: 11.98 kB / 0.8272 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.1849, allocations: 34.56 kB / 0.8272 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.1849, allocations: 0 / 0.8272 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0004498/0.1854, allocations: 133.5 kB / 0.8273 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.1854, allocations: 55.41 kB / 0.8274 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002584/0.1857, allocations: 257.9 kB / 0.8276 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.1857, allocations: 25.7 kB / 0.8277 GB, free: 13 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.1858, allocations: 136.2 kB / 0.8278 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.1858, allocations: 11.88 kB / 0.8278 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.692e-05/0.1858, allocations: 17.72 kB / 0.8278 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.186, allocations: 334.8 kB / 0.8281 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.389e-05/0.1861, allocations: 27.97 kB / 0.8282 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.054e-05/0.1862, allocations: 27.98 kB / 0.8282 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.1863, allocations: 68.86 kB / 0.8283 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.1863, allocations: 3.938 kB / 0.8283 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002228/0.1866, allocations: 105.5 kB / 0.8284 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.1866, allocations: 8 kB / 0.8284 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1866, allocations: 3.938 kB / 0.8284 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.1866, allocations: 0 / 0.8284 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.581e-05/0.1867, allocations: 8.016 kB / 0.8284 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.1867, allocations: 4 kB / 0.8284 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.169e-05/0.1867, allocations: 7.984 kB / 0.8284 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.1868, allocations: 4 kB / 0.8284 GB, free: 12.21 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001156/0.1869, allocations: 134.4 kB / 0.8285 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.962e-05/0.1869, allocations: 19.86 kB / 0.8286 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002789/0.1872, allocations: 122.5 kB / 0.8287 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1872, allocations: 0 / 0.8287 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1872, allocations: 0 / 0.8287 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.1872, allocations: 4 kB / 0.8287 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002322/0.1874, allocations: 192.6 kB / 0.8289 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1874, allocations: 0 / 0.8289 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.678e-05/0.1875, allocations: 8 kB / 0.8289 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1875, allocations: 0 / 0.8289 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.1875, allocations: 7.984 kB / 0.8289 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1875, allocations: 0 / 0.8289 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1875, allocations: 0 / 0.8289 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003339/0.1878, allocations: 203.3 kB / 0.8291 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.96e-05/0.1879, allocations: 15.91 kB / 0.8291 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.1879, allocations: 7.922 kB / 0.8291 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.257e-05/0.188, allocations: 4 kB / 0.8291 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.892e-05/0.188, allocations: 7.984 kB / 0.8291 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.188, allocations: 4.031 kB / 0.8291 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001948/0.1882, allocations: 185.2 kB / 0.8293 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1882, allocations: 0 / 0.8293 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002798/0.1885, allocations: 43.92 kB / 0.8293 GB, free: 11.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002072/0.1887, allocations: 131 kB / 0.8294 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002353/0.1889, allocations: 55.95 kB / 0.8295 GB, free: 11 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.1889, allocations: 8.062 kB / 0.8295 GB, free: 11 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.767e-05/0.189, allocations: 31.97 kB / 0.8295 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000432/0.1895, allocations: 44.33 kB / 0.8296 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005706/0.19, allocations: 330.6 kB / 0.8299 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003814/0.1904, allocations: 0.7353 MB / 0.8306 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.833e-05/0.1905, allocations: 7.75 kB / 0.8306 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.533e-05/0.1905, allocations: 7.438 kB / 0.8306 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of SimCode: time 4.11e-07/0.1905, allocations: 8 kB / 0.8306 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of Templates: time 0.004966/0.1955, allocations: 1.822 MB / 0.8324 GB, free: 8 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.957528297789395] Failed to read output from testmodel.py, exit status != 0: 0.2026891242712736 0.21837587700000002 0.032388436 Calling exit ...