Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 216.8 kB / 23.01 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.375/1.375, allocations: 230.6 MB / 256.8 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002508/0.002508, allocations: 287.3 kB / 313.5 MB, free: 2.789 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.152/1.152, allocations: 180.6 MB / 0.5377 GB, free: 12.97 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002756/0.002756, allocations: 102 kB / 0.7408 GB, free: 27.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1664, allocations: 95.39 MB / 0.8339 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor): time 0.003494/0.1699, allocations: 1.745 MB / 0.8357 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009265/0.1708, allocations: 0.5136 MB / 0.8362 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.065e-05/0.1709, allocations: 0 / 0.8362 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000446/0.1713, allocations: 147.5 kB / 0.8363 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.986e-05/0.1714, allocations: 63.67 kB / 0.8364 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002603/0.1717, allocations: 59.8 kB / 0.8364 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001831/0.1719, allocations: 99.5 kB / 0.8365 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.667e-05/0.1719, allocations: 11.92 kB / 0.8365 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.155e-05/0.172, allocations: 39.8 kB / 0.8366 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.578e-05/0.1721, allocations: 55.73 kB / 0.8366 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.1721, allocations: 11.94 kB / 0.8366 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001971/0.1723, allocations: 87.89 kB / 0.8367 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.221e-05/0.1724, allocations: 63.73 kB / 0.8368 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.95e-05/0.1724, allocations: 63.55 kB / 0.8368 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003013/0.1727, allocations: 191.1 kB / 0.837 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.1728, allocations: 4 kB / 0.837 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1728, allocations: 0 / 0.837 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.1728, allocations: 0 / 0.837 GB, free: 4.98 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.0006305/0.1734, allocations: 409.7 kB / 0.8374 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.1734, allocations: 13.34 kB / 0.8374 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.645e-05/0.1735, allocations: 20.8 kB / 0.8374 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/0.1736, allocations: 157.7 kB / 0.8376 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.1737, allocations: 8.375 kB / 0.8376 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.1737, allocations: 384 / 0.8376 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.1739, allocations: 62.22 kB / 0.8377 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.1739, allocations: 3.938 kB / 0.8377 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.1739, allocations: 3.938 kB / 0.8377 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.1739, allocations: 3.984 kB / 0.8377 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001798/0.1741, allocations: 63.95 kB / 0.8377 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000481/0.1745, allocations: 296 kB / 0.838 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001433/0.1747, allocations: 66.48 kB / 0.8381 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.626e-05/0.1748, allocations: 36.89 kB / 0.8381 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.907e-05/0.1748, allocations: 8 kB / 0.8381 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.1749, allocations: 38.5 kB / 0.8381 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.1749, allocations: 0 / 0.8381 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003849/0.1752, allocations: 133.5 kB / 0.8383 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.1753, allocations: 55.53 kB / 0.8383 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002717/0.1756, allocations: 261.8 kB / 0.8386 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.1756, allocations: 25.7 kB / 0.8386 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.243e-05/0.1757, allocations: 136.1 kB / 0.8387 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.659e-05/0.1757, allocations: 7.891 kB / 0.8387 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.093e-05/0.1757, allocations: 13.72 kB / 0.8388 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.1759, allocations: 330.8 kB / 0.8391 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.06e-05/0.176, allocations: 27.97 kB / 0.8391 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.066e-05/0.176, allocations: 31.97 kB / 0.8391 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000163/0.1762, allocations: 68.75 kB / 0.8392 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.1762, allocations: 3.938 kB / 0.8392 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002303/0.1764, allocations: 109.5 kB / 0.8393 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.1764, allocations: 8.094 kB / 0.8393 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.1764, allocations: 0 / 0.8393 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.1765, allocations: 0 / 0.8393 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.402e-05/0.1765, allocations: 11.98 kB / 0.8393 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.1765, allocations: 4 kB / 0.8393 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.151e-05/0.1766, allocations: 11.92 kB / 0.8393 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.1766, allocations: 0 / 0.8393 GB, free: 2.414 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.000128/0.1767, allocations: 142.4 kB / 0.8395 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.53e-05/0.1768, allocations: 15.91 kB / 0.8395 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002531/0.177, allocations: 114.5 kB / 0.8396 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.177, allocations: 0 / 0.8396 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.177, allocations: 0 / 0.8396 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.177, allocations: 0 / 0.8396 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000224/0.1773, allocations: 200.6 kB / 0.8398 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1773, allocations: 0 / 0.8398 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.446e-05/0.1773, allocations: 7.984 kB / 0.8398 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.1773, allocations: 4.031 kB / 0.8398 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.75e-06/0.1773, allocations: 0 / 0.8398 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1773, allocations: 4 kB / 0.8398 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1773, allocations: 0 / 0.8398 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002814/0.1776, allocations: 211.2 kB / 0.84 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.775e-05/0.1776, allocations: 15.86 kB / 0.84 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.1777, allocations: 32 / 0.84 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.638e-05/0.1777, allocations: 8 kB / 0.84 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.123e-05/0.1778, allocations: 7.984 kB / 0.84 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-06/0.1778, allocations: 3.938 kB / 0.84 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001722/0.178, allocations: 185.2 kB / 0.8402 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.178, allocations: 0 / 0.8402 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002641/0.1782, allocations: 39.92 kB / 0.8403 GB, free: 1.398 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.0001933/0.1784, allocations: 127.1 kB / 0.8404 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002283/0.1786, allocations: 67.95 kB / 0.8404 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1786, allocations: 0 / 0.8404 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.5e-05/0.1787, allocations: 35.91 kB / 0.8405 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004565/0.1792, allocations: 60.38 kB / 0.8405 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005782/0.1798, allocations: 360.3 kB / 0.8409 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000388/0.1802, allocations: 0.7314 MB / 0.8416 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.584e-05/0.1802, allocations: 15.42 kB / 0.8416 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/0.1802, allocations: 4 kB / 0.8416 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of Templates: time 0.003879/0.1841, allocations: 1.848 MB / 0.8434 GB, free: 14.11 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.108974817907438] Failed to read output from testmodel.py, exit status != 0: 0.19127747789025307 0.206138282 0.030448100000000002 Calling exit ...