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.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.0017/0.0017, 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.001821/0.001821, allocations: 218.6 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.361/1.361, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.002396/0.002396, allocations: 279.8 kB / 313.5 MB, free: 2.801 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.153/1.153, allocations: 180.6 MB / 0.5377 GB, free: 12.98 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.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: 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.002776/0.002776, allocations: 107.1 kB / 0.7408 GB, free: 27.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1593, allocations: 95.39 MB / 0.8339 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi): time 0.002987/0.1623, allocations: 1.743 MB / 0.8357 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001682/0.164, allocations: 1.172 MB / 0.8368 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.295e-05/0.164, allocations: 0 / 0.8368 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000433/0.1645, allocations: 151.4 kB / 0.8369 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.227e-05/0.1646, allocations: 51.73 kB / 0.837 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004567/0.165, allocations: 167.4 kB / 0.8371 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001657/0.1652, allocations: 111.5 kB / 0.8373 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.534e-05/0.1652, allocations: 7.938 kB / 0.8373 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.814e-05/0.1653, allocations: 39.78 kB / 0.8373 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.1654, allocations: 59.8 kB / 0.8374 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.1654, allocations: 4 kB / 0.8374 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004088/0.1658, allocations: 247.5 kB / 0.8376 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.425e-05/0.1659, allocations: 59.8 kB / 0.8377 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.364e-05/0.166, allocations: 59.56 kB / 0.8377 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004539/0.1665, allocations: 310.8 kB / 0.838 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1665, allocations: 0 / 0.838 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1665, allocations: 4 kB / 0.838 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.368e-06/0.1665, allocations: 0 / 0.838 GB, free: 3.973 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.0006539/0.1671, allocations: 440.7 kB / 0.8384 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.1672, allocations: 9.344 kB / 0.8384 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.644e-05/0.1672, allocations: 20.8 kB / 0.8385 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.1674, allocations: 161.7 kB / 0.8386 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.416e-06/0.1674, allocations: 4.375 kB / 0.8386 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.301e-05/0.1674, allocations: 384 / 0.8386 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002123/0.1676, allocations: 93.72 kB / 0.8387 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.1676, allocations: 0 / 0.8387 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.1676, allocations: 0 / 0.8387 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.1676, allocations: 0 / 0.8387 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002177/0.1678, allocations: 91.94 kB / 0.8388 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005285/0.1684, allocations: 351.9 kB / 0.8391 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.1686, allocations: 106.5 kB / 0.8392 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.1687, allocations: 56.88 kB / 0.8393 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.817e-05/0.1687, allocations: 23.94 kB / 0.8393 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.1688, allocations: 30.56 kB / 0.8393 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.1688, allocations: 0 / 0.8393 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0004515/0.1692, allocations: 193.5 kB / 0.8395 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.1692, allocations: 51.41 kB / 0.8396 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002701/0.1695, allocations: 257.9 kB / 0.8398 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.1695, allocations: 29.64 kB / 0.8398 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.09e-05/0.1696, allocations: 140.1 kB / 0.84 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.659e-05/0.1696, allocations: 7.891 kB / 0.84 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.386e-05/0.1697, allocations: 17.84 kB / 0.84 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.1698, allocations: 346.7 kB / 0.8403 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.17, allocations: 43.97 kB / 0.8404 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.1701, allocations: 47.97 kB / 0.8404 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002135/0.1703, allocations: 100.8 kB / 0.8405 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1703, allocations: 4.062 kB / 0.8405 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002617/0.1705, allocations: 149.5 kB / 0.8407 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.1705, allocations: 4 kB / 0.8407 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.1706, allocations: 0 / 0.8407 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.1706, allocations: 0 / 0.8407 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.594e-05/0.1707, allocations: 15.92 kB / 0.8407 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.1707, allocations: 0 / 0.8407 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.275e-05/0.1707, allocations: 8.016 kB / 0.8407 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.1707, allocations: 4 kB / 0.8407 GB, free: 1.035 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.0001115/0.1708, allocations: 142.4 kB / 0.8408 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.768e-05/0.1709, allocations: 19.86 kB / 0.8409 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003367/0.1712, allocations: 158.6 kB / 0.841 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.1712, allocations: 0 / 0.841 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.1712, allocations: 0 / 0.841 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.1712, allocations: 8 kB / 0.841 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002474/0.1715, allocations: 216.6 kB / 0.8412 GB, free: 452 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1715, allocations: 0 / 0.8412 GB, free: 452 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-05/0.1715, allocations: 11.98 kB / 0.8412 GB, free: 440 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.1715, allocations: 3.938 kB / 0.8412 GB, free: 436 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.064e-06/0.1715, allocations: 0 / 0.8412 GB, free: 436 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.1716, allocations: 3.984 kB / 0.8412 GB, free: 432 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1716, allocations: 0 / 0.8412 GB, free: 432 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00032/0.1719, allocations: 251.3 kB / 0.8415 GB, free: 164 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.536e-05/0.1719, allocations: 11.91 kB / 0.8415 GB, free: 152 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.431e-05/0.1719, allocations: 8 kB / 0.8415 GB, free: 144 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.148e-05/0.172, allocations: 7.984 kB / 0.8415 GB, free: 136 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.316e-05/0.172, allocations: 4 kB / 0.8415 GB, free: 132 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.1721, allocations: 0 / 0.8415 GB, free: 132 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001844/0.1722, allocations: 193.2 kB / 0.8417 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1722, allocations: 3.938 kB / 0.8417 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003201/0.1726, allocations: 79.69 kB / 0.8418 GB, free: 15.86 MB / 0.5919 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.0002672/0.1728, allocations: 171 kB / 0.8419 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002788/0.1731, allocations: 99.88 kB / 0.842 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1731, allocations: 0 / 0.842 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.1732, allocations: 55.95 kB / 0.8421 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004221/0.1736, allocations: 56.8 kB / 0.8421 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006201/0.1743, allocations: 388.3 kB / 0.8425 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003753/0.1746, allocations: 0.7392 MB / 0.8432 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.313e-05/0.1747, allocations: 15.44 kB / 0.8432 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of SimCode: time 3.1e-07/0.1747, allocations: 0 / 0.8432 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of Templates: time 0.004218/0.1789, allocations: 2.179 MB / 0.8454 GB, free: 12.12 MB / 0.5919 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: 8.072074144845828] Failed to read output from testmodel.py, exit status != 0: 0.18598675215616822 0.20133023400000002 0.031832266000000005 Calling exit ...