Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.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.001289/0.001289, allocations: 101.7 kB / 19.59 MB, free: 2.324 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.001381/0.001381, allocations: 185.7 kB / 22.85 MB, free: 5.648 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.382/1.382, 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.002464/0.002464, allocations: 282.1 kB / 307 MB, free: 8.375 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.48 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.dPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002785/0.002785, allocations: 101.2 kB / 0.7311 GB, free: 38.89 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1564, allocations: 94.2 MB / 0.8231 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi): time 0.003054/0.1595, allocations: 1.717 MB / 0.8247 GB, free: 368 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001671/0.1611, allocations: 1.121 MB / 0.8258 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.116e-05/0.1612, allocations: 3.938 kB / 0.8258 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004359/0.1616, allocations: 159.4 kB / 0.826 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.356e-05/0.1617, allocations: 51.67 kB / 0.826 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000434/0.1621, allocations: 167.5 kB / 0.8262 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001622/0.1623, allocations: 111.5 kB / 0.8263 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.403e-05/0.1623, allocations: 7.938 kB / 0.8263 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.146e-05/0.1624, allocations: 43.78 kB / 0.8264 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.1625, allocations: 63.67 kB / 0.8264 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.1625, allocations: 3.938 kB / 0.8264 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003297/0.1629, allocations: 195.7 kB / 0.8266 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.088e-05/0.1629, allocations: 55.81 kB / 0.8267 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.92e-05/0.163, allocations: 67.55 kB / 0.8267 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004163/0.1634, allocations: 290.9 kB / 0.827 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1634, allocations: 0 / 0.827 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1634, allocations: 4 kB / 0.827 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.1634, allocations: 0 / 0.827 GB, free: 14.03 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.0006553/0.1641, allocations: 444.6 kB / 0.8274 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.1641, allocations: 8.031 kB / 0.8274 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.524e-05/0.1642, allocations: 20.8 kB / 0.8275 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.1644, allocations: 161.6 kB / 0.8276 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.1644, allocations: 4.375 kB / 0.8276 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.1644, allocations: 384 / 0.8276 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.1646, allocations: 89.78 kB / 0.8277 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.1646, allocations: 0 / 0.8277 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.1646, allocations: 0 / 0.8277 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1646, allocations: 0 / 0.8277 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002181/0.1648, allocations: 95.92 kB / 0.8278 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005269/0.1654, allocations: 347.9 kB / 0.8281 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/0.1655, allocations: 102.5 kB / 0.8282 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.1657, allocations: 52.89 kB / 0.8283 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.58e-05/0.1657, allocations: 27.89 kB / 0.8283 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.1657, allocations: 30.56 kB / 0.8283 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.1657, allocations: 0 / 0.8283 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0004546/0.1662, allocations: 197.5 kB / 0.8285 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.1662, allocations: 55.34 kB / 0.8286 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002785/0.1665, allocations: 257.9 kB / 0.8288 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.1665, allocations: 25.7 kB / 0.8288 GB, free: 12 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.1666, allocations: 136.1 kB / 0.829 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.1666, allocations: 11.88 kB / 0.829 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-05/0.1667, allocations: 17.84 kB / 0.829 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.1668, allocations: 330.8 kB / 0.8293 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.1669, allocations: 51.95 kB / 0.8294 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.167, allocations: 47.97 kB / 0.8294 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002048/0.1672, allocations: 100.9 kB / 0.8295 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1672, allocations: 4 kB / 0.8295 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002753/0.1675, allocations: 153.4 kB / 0.8297 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.1675, allocations: 4 kB / 0.8297 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1675, allocations: 3.984 kB / 0.8297 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.1676, allocations: 0 / 0.8297 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.039e-05/0.1677, allocations: 15.92 kB / 0.8297 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1677, allocations: 0 / 0.8297 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.597e-05/0.1677, allocations: 12.03 kB / 0.8297 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.1677, allocations: 3.938 kB / 0.8297 GB, free: 11.09 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.000125/0.1679, allocations: 142.4 kB / 0.8298 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.722e-05/0.1679, allocations: 15.91 kB / 0.8298 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003529/0.1682, allocations: 162.6 kB / 0.83 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1682, allocations: 0 / 0.83 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.1682, allocations: 4 kB / 0.83 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1683, allocations: 0 / 0.83 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002653/0.1685, allocations: 220.6 kB / 0.8302 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1685, allocations: 3.938 kB / 0.8302 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.162e-05/0.1686, allocations: 11.98 kB / 0.8302 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1686, allocations: 4 kB / 0.8302 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.1686, allocations: 0 / 0.8302 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1686, allocations: 0 / 0.8302 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1686, allocations: 0 / 0.8302 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003295/0.1689, allocations: 247.3 kB / 0.8305 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.064e-05/0.169, allocations: 19.84 kB / 0.8305 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.169, allocations: 0 / 0.8305 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.258e-05/0.1691, allocations: 4 kB / 0.8305 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.912e-05/0.1691, allocations: 11.98 kB / 0.8305 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.1691, allocations: 0 / 0.8305 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001833/0.1693, allocations: 193.2 kB / 0.8307 GB, free: 9.996 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1693, allocations: 4 kB / 0.8307 GB, free: 9.992 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003324/0.1696, allocations: 67.75 kB / 0.8308 GB, free: 9.926 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 (3): * Single equations (assignments): 3 * 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.0002716/0.1699, allocations: 174.9 kB / 0.8309 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002914/0.1702, allocations: 99.92 kB / 0.831 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.1702, allocations: 0 / 0.831 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.1703, allocations: 51.97 kB / 0.8311 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004287/0.1707, allocations: 52.33 kB / 0.8311 GB, free: 9.547 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005973/0.1713, allocations: 362.6 kB / 0.8315 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.1717, allocations: 0.7353 MB / 0.8322 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.561e-05/0.1718, allocations: 15.92 kB / 0.8322 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.91e-05/0.1718, allocations: 15.44 kB / 0.8322 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.1718, allocations: 3.938 kB / 0.8322 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of Templates: time 0.005747/0.1775, allocations: 2.385 MB / 0.8345 GB, free: 6.023 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.900115780066699] Failed to read output from testmodel.py, exit status != 0: 0.18485931307077408 0.19939024400000002 0.032974194000000005 Calling exit ...