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.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.00154/0.00154, 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.001715/0.001715, allocations: 187.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.367/1.367, 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.0026/0.0026, allocations: 281.2 kB / 307 MB, free: 8.371 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.211/1.211, allocations: 180.8 MB / 0.5304 GB, free: 14.52 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.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: Performance of FrontEnd - loaded program: time 0.002829/0.002829, allocations: 104.3 kB / 0.7311 GB, free: 38.72 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1591, allocations: 94.21 MB / 0.8231 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor): time 0.003181/0.1623, allocations: 1.728 MB / 0.8247 GB, free: 140 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000877/0.1632, allocations: 0.498 MB / 0.8252 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.895e-05/0.1632, allocations: 0 / 0.8252 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004306/0.1636, allocations: 159.4 kB / 0.8254 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.936e-05/0.1637, allocations: 51.73 kB / 0.8254 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002578/0.164, allocations: 71.78 kB / 0.8255 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.1641, allocations: 107.4 kB / 0.8256 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.477e-05/0.1642, allocations: 7.938 kB / 0.8256 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.552e-05/0.1642, allocations: 35.84 kB / 0.8256 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.985e-05/0.1643, allocations: 59.69 kB / 0.8257 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.1644, allocations: 4 kB / 0.8257 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001663/0.1645, allocations: 79.84 kB / 0.8258 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.307e-05/0.1646, allocations: 55.8 kB / 0.8258 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.869e-05/0.1647, allocations: 63.56 kB / 0.8259 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000284/0.165, allocations: 191.2 kB / 0.8261 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.165, allocations: 0 / 0.8261 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.343e-06/0.165, allocations: 0 / 0.8261 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.165, allocations: 0 / 0.8261 GB, free: 14.77 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.0005738/0.1656, allocations: 417 kB / 0.8265 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.1656, allocations: 8.031 kB / 0.8265 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.767e-05/0.1656, allocations: 16.84 kB / 0.8265 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.1658, allocations: 161.6 kB / 0.8267 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.1658, allocations: 8.375 kB / 0.8267 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.565e-06/0.1658, allocations: 384 / 0.8267 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.166, allocations: 66.22 kB / 0.8267 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.166, allocations: 3.938 kB / 0.8267 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.166, allocations: 4 kB / 0.8267 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.166, allocations: 0 / 0.8267 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001825/0.1662, allocations: 63.94 kB / 0.8268 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004664/0.1667, allocations: 299.9 kB / 0.8271 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.1669, allocations: 70.42 kB / 0.8271 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.688e-05/0.1669, allocations: 28.91 kB / 0.8272 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.042e-05/0.167, allocations: 15.97 kB / 0.8272 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.167, allocations: 42.56 kB / 0.8272 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.167, allocations: 0 / 0.8272 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0004199/0.1674, allocations: 133.5 kB / 0.8274 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.1675, allocations: 55.34 kB / 0.8274 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003038/0.1678, allocations: 253.9 kB / 0.8276 GB, free: 13 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.1678, allocations: 25.83 kB / 0.8277 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.1679, allocations: 140.1 kB / 0.8278 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.79e-05/0.168, allocations: 15.88 kB / 0.8278 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.152e-05/0.168, allocations: 13.72 kB / 0.8278 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001841/0.1682, allocations: 326.8 kB / 0.8281 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.1683, allocations: 31.97 kB / 0.8282 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.331e-05/0.1684, allocations: 27.97 kB / 0.8282 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/0.1686, allocations: 68.88 kB / 0.8283 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.1686, allocations: 3.938 kB / 0.8283 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000228/0.1688, allocations: 109.4 kB / 0.8284 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.1688, allocations: 4 kB / 0.8284 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.1688, allocations: 0 / 0.8284 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.1688, allocations: 0 / 0.8284 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.088e-05/0.1689, allocations: 16.02 kB / 0.8284 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.1689, allocations: 0 / 0.8284 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.274e-05/0.169, allocations: 7.984 kB / 0.8284 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.169, allocations: 0 / 0.8284 GB, free: 12.2 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.0001119/0.1691, allocations: 138.4 kB / 0.8285 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.762e-05/0.1691, allocations: 19.86 kB / 0.8286 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002744/0.1694, allocations: 118.6 kB / 0.8287 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.1694, allocations: 0 / 0.8287 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.1694, allocations: 0 / 0.8287 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1694, allocations: 7.938 kB / 0.8287 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002355/0.1697, allocations: 192.6 kB / 0.8289 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1697, allocations: 0 / 0.8289 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.69e-05/0.1697, allocations: 7.984 kB / 0.8289 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1697, allocations: 0 / 0.8289 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.585e-06/0.1697, allocations: 0 / 0.8289 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.1697, allocations: 4 kB / 0.8289 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1697, allocations: 4.031 kB / 0.8289 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002806/0.17, allocations: 199.3 kB / 0.8291 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.104e-05/0.17, allocations: 15.89 kB / 0.8291 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.1701, allocations: 4 kB / 0.8291 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.855e-05/0.1702, allocations: 8 kB / 0.8291 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.778e-05/0.1702, allocations: 15.95 kB / 0.8291 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.1702, allocations: 0 / 0.8291 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001951/0.1704, allocations: 185.2 kB / 0.8293 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1704, allocations: 0 / 0.8293 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003003/0.1707, allocations: 39.92 kB / 0.8293 GB, free: 11.18 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.000212/0.1709, allocations: 127 kB / 0.8294 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002594/0.1712, allocations: 63.95 kB / 0.8295 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1712, allocations: 0 / 0.8295 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.1713, allocations: 31.97 kB / 0.8295 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004683/0.1717, allocations: 53.25 kB / 0.8296 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005709/0.1723, allocations: 338.7 kB / 0.8299 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.1727, allocations: 0.7314 MB / 0.8306 GB, free: 9.781 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.105e-05/0.1727, allocations: 11.73 kB / 0.8306 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.892e-05/0.1727, allocations: 11.44 kB / 0.8306 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of SimCode: time 6.11e-07/0.1727, allocations: 0 / 0.8306 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of Templates: time 0.005125/0.1779, allocations: 1.818 MB / 0.8324 GB, free: 7.977 MB / 0.5762 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.868942501023412] Failed to read output from testmodel.py, exit status != 0: 0.18505572294816375 0.200441064 0.032334174 Calling exit ...