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.001427/0.001427, allocations: 109 kB / 18.93 MB, free: 2.945 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.001401/0.001401, allocations: 191.8 kB / 22.23 MB, free: 5.16 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.436/1.436, allocations: 225.6 MB / 251 MB, free: 13.02 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.002497/0.002497, allocations: 282.2 kB / 306.6 MB, free: 8.316 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.245/1.245, allocations: 180.9 MB / 0.53 GB, free: 14.46 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.002814/0.002814, allocations: 105.4 kB / 0.7308 GB, free: 39.08 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1614, allocations: 94.2 MB / 0.8228 GB, free: 1.867 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi): time 0.002916/0.1643, allocations: 1.737 MB / 0.8245 GB, free: 120 kB / 0.5606 GB
Notification: Performance of NFInst.instExpressions: time 0.001666/0.166, allocations: 1.129 MB / 0.8256 GB, free: 14.98 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.65e-05/0.166, allocations: 4 kB / 0.8256 GB, free: 14.98 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 0.0004358/0.1664, allocations: 151.4 kB / 0.8258 GB, free: 14.83 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 8.188e-05/0.1665, allocations: 51.67 kB / 0.8258 GB, free: 14.78 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004216/0.1669, allocations: 171.5 kB / 0.826 GB, free: 14.61 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 0.000152/0.1671, allocations: 107.4 kB / 0.8261 GB, free: 14.51 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.374e-05/0.1671, allocations: 11.92 kB / 0.8261 GB, free: 14.5 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 6.359e-05/0.1672, allocations: 35.91 kB / 0.8261 GB, free: 14.46 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.1673, allocations: 59.69 kB / 0.8262 GB, free: 14.4 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.1673, allocations: 4 kB / 0.8262 GB, free: 14.4 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004119/0.1677, allocations: 247.5 kB / 0.8264 GB, free: 14.16 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 9.169e-05/0.1678, allocations: 59.8 kB / 0.8265 GB, free: 14.1 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 7.853e-05/0.1679, allocations: 63.56 kB / 0.8265 GB, free: 14.04 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0004857/0.1684, allocations: 314.8 kB / 0.8268 GB, free: 13.73 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1684, allocations: 0 / 0.8268 GB, free: 13.73 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.573e-06/0.1684, allocations: 4 kB / 0.8268 GB, free: 13.72 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 6.392e-06/0.1684, allocations: 0 / 0.8268 GB, free: 13.72 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.0006949/0.1691, allocations: 440.7 kB / 0.8273 GB, free: 13.26 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.1691, allocations: 8.031 kB / 0.8273 GB, free: 13.25 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.202e-05/0.1692, allocations: 20.8 kB / 0.8273 GB, free: 13.23 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.1694, allocations: 157.7 kB / 0.8274 GB, free: 13.06 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.1694, allocations: 384 / 0.8274 GB, free: 13.06 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.1694, allocations: 4.375 kB / 0.8274 GB, free: 13.05 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002291/0.1696, allocations: 85.78 kB / 0.8275 GB, free: 12.96 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.1696, allocations: 0 / 0.8275 GB, free: 12.96 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.1696, allocations: 4 kB / 0.8275 GB, free: 12.96 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.1696, allocations: 3.938 kB / 0.8275 GB, free: 12.96 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000252/0.1699, allocations: 99.92 kB / 0.8276 GB, free: 12.86 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005948/0.1705, allocations: 351.8 kB / 0.828 GB, free: 12.47 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/0.1707, allocations: 94.53 kB / 0.8281 GB, free: 12.37 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.1708, allocations: 52.89 kB / 0.8281 GB, free: 12.32 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 5.959e-05/0.1709, allocations: 27.89 kB / 0.8281 GB, free: 12.29 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.1709, allocations: 38.5 kB / 0.8282 GB, free: 12.24 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1709, allocations: 0 / 0.8282 GB, free: 12.24 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=2): time 0.000529/0.1714, allocations: 197.5 kB / 0.8284 GB, free: 12.04 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.1715, allocations: 51.41 kB / 0.8284 GB, free: 11.98 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002863/0.1718, allocations: 257.9 kB / 0.8287 GB, free: 11.72 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.1718, allocations: 25.7 kB / 0.8287 GB, free: 11.69 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.1719, allocations: 132.1 kB / 0.8288 GB, free: 11.55 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.1719, allocations: 15.86 kB / 0.8288 GB, free: 11.54 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.765e-05/0.172, allocations: 21.84 kB / 0.8288 GB, free: 11.51 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.0001812/0.1722, allocations: 330.8 kB / 0.8292 GB, free: 11.18 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.1723, allocations: 47.95 kB / 0.8292 GB, free: 11.13 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.1724, allocations: 47.97 kB / 0.8292 GB, free: 11.09 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000238/0.1726, allocations: 108.7 kB / 0.8293 GB, free: 10.98 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1726, allocations: 0 / 0.8293 GB, free: 10.98 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002985/0.1729, allocations: 149.5 kB / 0.8295 GB, free: 10.82 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.173, allocations: 8 kB / 0.8295 GB, free: 10.82 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.173, allocations: 0 / 0.8295 GB, free: 10.82 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.173, allocations: 0 / 0.8295 GB, free: 10.82 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.698e-05/0.1731, allocations: 11.98 kB / 0.8295 GB, free: 10.8 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.1731, allocations: 0 / 0.8295 GB, free: 10.8 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.985e-05/0.1731, allocations: 8.031 kB / 0.8295 GB, free: 10.8 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.1732, allocations: 0 / 0.8295 GB, free: 10.8 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.0001291/0.1733, allocations: 143.1 kB / 0.8297 GB, free: 10.65 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.918e-05/0.1733, allocations: 15.91 kB / 0.8297 GB, free: 10.63 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003819/0.1737, allocations: 174.4 kB / 0.8298 GB, free: 10.45 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1737, allocations: 0 / 0.8298 GB, free: 10.45 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.1737, allocations: 8 kB / 0.8298 GB, free: 10.45 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.1737, allocations: 0 / 0.8298 GB, free: 10.45 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002629/0.174, allocations: 212.6 kB / 0.83 GB, free: 10.2 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.174, allocations: 0 / 0.83 GB, free: 10.2 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.687e-05/0.174, allocations: 11.98 kB / 0.8301 GB, free: 10.18 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.174, allocations: 0 / 0.8301 GB, free: 10.18 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.1741, allocations: 4.047 kB / 0.8301 GB, free: 10.18 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1741, allocations: 0 / 0.8301 GB, free: 10.18 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.1741, allocations: 3.984 kB / 0.8301 GB, free: 10.18 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003648/0.1744, allocations: 251.3 kB / 0.8303 GB, free: 9.914 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 3.494e-05/0.1745, allocations: 23.84 kB / 0.8303 GB, free: 9.891 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.1745, allocations: 0 / 0.8303 GB, free: 9.891 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.638e-05/0.1746, allocations: 7.938 kB / 0.8303 GB, free: 9.883 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.1746, allocations: 3.984 kB / 0.8303 GB, free: 9.879 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-06/0.1746, allocations: 4 kB / 0.8303 GB, free: 9.875 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 0.0001951/0.1748, allocations: 189.2 kB / 0.8305 GB, free: 9.688 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 1.1e-07/0.1748, allocations: 4 kB / 0.8305 GB, free: 9.684 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0003536/0.1752, allocations: 71.75 kB / 0.8306 GB, free: 9.613 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.0003316/0.1755, allocations: 170.9 kB / 0.8308 GB, free: 9.438 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.0003092/0.1758, allocations: 99.92 kB / 0.8309 GB, free: 9.34 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1758, allocations: 4 kB / 0.8309 GB, free: 9.336 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001276/0.176, allocations: 51.91 kB / 0.8309 GB, free: 9.285 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004924/0.1764, allocations: 62.3 kB / 0.831 GB, free: 9.227 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000659/0.1771, allocations: 354.7 kB / 0.8313 GB, free: 8.855 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003893/0.1775, allocations: 0.7353 MB / 0.832 GB, free: 8.094 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 4.663e-05/0.1775, allocations: 19.67 kB / 0.832 GB, free: 8.074 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.609e-05/0.1776, allocations: 7.438 kB / 0.832 GB, free: 8.066 MB / 0.5762 GB
Notification: Performance of SimCode: time 3.11e-07/0.1776, allocations: 4 kB / 0.8321 GB, free: 8.062 MB / 0.5762 GB
Notification: Performance of Templates: time 0.006027/0.1836, allocations: 2.386 MB / 0.8344 GB, free: 5.715 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.012071441859007]
Failed to read output from testmodel.py, exit status != 0:
0.19095369521528482 0.205967418 0.034494215
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f4e3b56d7b0>