Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.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.001626/0.001626, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001792/0.001792, allocations: 215.9 kB / 22.99 MB, free: 4.945 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.416/1.416, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.002563/0.002563, allocations: 294.7 kB / 313.5 MB, free: 2.707 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.175/1.175, allocations: 180.6 MB / 0.5377 GB, free: 14.56 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.myPhiMoist,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist") [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.002856/0.002856, allocations: 104.8 kB / 0.7407 GB, free: 27.87 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1564, allocations: 95.39 MB / 0.8338 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist): time 0.003045/0.1594, allocations: 1.708 MB / 0.8355 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0006915/0.1601, allocations: 422.3 kB / 0.8359 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.641e-05/0.1601, allocations: 0 / 0.8359 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003815/0.1605, allocations: 123.5 kB / 0.836 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.66e-05/0.1606, allocations: 59.67 kB / 0.8361 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002359/0.1609, allocations: 63.8 kB / 0.8362 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.161, allocations: 103.5 kB / 0.8363 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.668e-05/0.161, allocations: 7.938 kB / 0.8363 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.496e-05/0.1611, allocations: 35.8 kB / 0.8363 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.15e-05/0.1612, allocations: 51.75 kB / 0.8363 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.1612, allocations: 8 kB / 0.8364 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001572/0.1614, allocations: 71.86 kB / 0.8364 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.703e-05/0.1614, allocations: 55.8 kB / 0.8365 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.069e-05/0.1615, allocations: 47.67 kB / 0.8365 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002568/0.1617, allocations: 191.2 kB / 0.8367 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.1617, allocations: 0 / 0.8367 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1617, allocations: 0 / 0.8367 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.1618, allocations: 0 / 0.8367 GB, free: 4.879 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.0005789/0.1623, allocations: 409 kB / 0.8371 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.1624, allocations: 8.75 kB / 0.8371 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.768e-05/0.1624, allocations: 28.78 kB / 0.8371 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.1626, allocations: 153.7 kB / 0.8373 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.1626, allocations: 4.375 kB / 0.8373 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-06/0.1626, allocations: 384 / 0.8373 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.1628, allocations: 62.14 kB / 0.8373 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.1628, allocations: 7.938 kB / 0.8373 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.1628, allocations: 4 kB / 0.8373 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.1628, allocations: 0 / 0.8373 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001752/0.163, allocations: 39.97 kB / 0.8374 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004198/0.1634, allocations: 256.5 kB / 0.8376 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.1635, allocations: 46.55 kB / 0.8377 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.959e-05/0.1636, allocations: 28.78 kB / 0.8377 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.129e-05/0.1636, allocations: 4 kB / 0.8377 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.1637, allocations: 38.56 kB / 0.8377 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.1637, allocations: 0 / 0.8377 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003619/0.164, allocations: 113.5 kB / 0.8379 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.1641, allocations: 55.41 kB / 0.8379 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000254/0.1643, allocations: 249.9 kB / 0.8381 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.1643, allocations: 29.7 kB / 0.8382 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.613e-05/0.1644, allocations: 128.1 kB / 0.8383 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.708e-05/0.1644, allocations: 7.953 kB / 0.8383 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.951e-05/0.1645, allocations: 13.72 kB / 0.8383 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.1646, allocations: 334.8 kB / 0.8386 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.317e-05/0.1647, allocations: 28.05 kB / 0.8387 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.599e-05/0.1648, allocations: 23.91 kB / 0.8387 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.1649, allocations: 48.77 kB / 0.8387 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1649, allocations: 0 / 0.8387 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002073/0.1651, allocations: 89.59 kB / 0.8388 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.1652, allocations: 8 kB / 0.8388 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.1652, allocations: 3.984 kB / 0.8388 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.1652, allocations: 0 / 0.8388 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.644e-05/0.1653, allocations: 8 kB / 0.8388 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.1653, allocations: 0 / 0.8388 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.12e-05/0.1653, allocations: 11.94 kB / 0.8388 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-06/0.1653, allocations: 3.938 kB / 0.8389 GB, free: 2.504 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.0001065/0.1654, allocations: 138.5 kB / 0.839 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.55e-05/0.1655, allocations: 19.84 kB / 0.839 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002574/0.1657, allocations: 98.61 kB / 0.8391 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1657, allocations: 0 / 0.8391 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1657, allocations: 0 / 0.8391 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.1657, allocations: 0 / 0.8391 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001736/0.1659, allocations: 149.3 kB / 0.8392 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1659, allocations: 4 kB / 0.8392 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.634e-05/0.166, allocations: 11.92 kB / 0.8393 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.166, allocations: 0 / 0.8393 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.166, allocations: 8.031 kB / 0.8393 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.166, allocations: 4 kB / 0.8393 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.166, allocations: 0 / 0.8393 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002573/0.1662, allocations: 191.3 kB / 0.8394 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.942e-05/0.1663, allocations: 19.8 kB / 0.8395 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.1663, allocations: 0 / 0.8395 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.752e-05/0.1664, allocations: 4 kB / 0.8395 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.225e-05/0.1664, allocations: 11.98 kB / 0.8395 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.1664, allocations: 4.031 kB / 0.8395 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001685/0.1666, allocations: 189.2 kB / 0.8397 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1666, allocations: 0 / 0.8397 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002533/0.1668, allocations: 35.94 kB / 0.8397 GB, free: 1.57 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.0001619/0.167, allocations: 119.2 kB / 0.8398 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002086/0.1672, allocations: 51.83 kB / 0.8399 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.1672, allocations: 0 / 0.8399 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.55e-05/0.1673, allocations: 24.05 kB / 0.8399 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004213/0.1677, allocations: 46.45 kB / 0.8399 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005481/0.1683, allocations: 360.2 kB / 0.8403 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001249/0.1684, allocations: 122.8 kB / 0.8404 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.549e-05/0.1684, allocations: 15.42 kB / 0.8404 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.1684, allocations: 0 / 0.8404 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of Templates: time 0.003721/0.1721, allocations: 1.919 MB / 0.8423 GB, free: 14.89 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.073375279083848] Failed to read output from testmodel.py, exit status != 0: 0.1789168631657958 0.193737724 0.029134054000000003 Calling exit ...