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.001272/0.001272, 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.001441/0.001441, allocations: 222 kB / 23.01 MB, free: 4.609 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.374/1.374, allocations: 230.6 MB / 256.8 MB, free: 8.035 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.002436/0.002436, allocations: 286.1 kB / 313.5 MB, free: 2.844 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.161/1.161, allocations: 180.6 MB / 0.5377 GB, free: 13.04 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.002762/0.002762, allocations: 101.3 kB / 0.7408 GB, free: 28.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1632, allocations: 95.38 MB / 0.8339 GB, free: 8.184 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist): time 0.003187/0.1664, allocations: 1.749 MB / 0.8357 GB, free: 6.418 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0007724/0.1672, allocations: 474.1 kB / 0.8361 GB, free: 5.953 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.201e-05/0.1672, allocations: 8 kB / 0.8361 GB, free: 5.945 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0004325/0.1677, allocations: 139.5 kB / 0.8362 GB, free: 5.809 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 8.479e-05/0.1678, allocations: 59.67 kB / 0.8363 GB, free: 5.75 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002514/0.168, allocations: 63.8 kB / 0.8364 GB, free: 5.688 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0001493/0.1682, allocations: 99.5 kB / 0.8365 GB, free: 5.59 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 4.483e-05/0.1682, allocations: 11.92 kB / 0.8365 GB, free: 5.578 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 6.681e-05/0.1683, allocations: 31.86 kB / 0.8365 GB, free: 5.547 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.1684, allocations: 59.73 kB / 0.8366 GB, free: 5.488 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.1684, allocations: 0 / 0.8366 GB, free: 5.488 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001758/0.1686, allocations: 87.84 kB / 0.8366 GB, free: 5.402 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 8.164e-05/0.1686, allocations: 63.78 kB / 0.8367 GB, free: 5.34 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 7.647e-05/0.1687, allocations: 59.56 kB / 0.8368 GB, free: 5.281 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0002769/0.169, allocations: 199 kB / 0.837 GB, free: 5.086 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.169, allocations: 0 / 0.837 GB, free: 5.086 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.112e-06/0.169, allocations: 0 / 0.837 GB, free: 5.086 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.169, allocations: 0 / 0.837 GB, free: 5.086 MB / 0.5763 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.0005991/0.1696, allocations: 409 kB / 0.8373 GB, free: 4.656 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.1696, allocations: 8.75 kB / 0.8373 GB, free: 4.648 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.26e-05/0.1697, allocations: 20.8 kB / 0.8374 GB, free: 4.629 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.1698, allocations: 165.7 kB / 0.8375 GB, free: 4.445 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.1699, allocations: 384 / 0.8375 GB, free: 4.445 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.1699, allocations: 8.359 kB / 0.8375 GB, free: 4.438 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.1701, allocations: 50.23 kB / 0.8376 GB, free: 4.383 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.1701, allocations: 3.938 kB / 0.8376 GB, free: 4.379 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.1701, allocations: 0 / 0.8376 GB, free: 4.379 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1701, allocations: 0 / 0.8376 GB, free: 4.379 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001747/0.1702, allocations: 47.89 kB / 0.8376 GB, free: 4.332 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004612/0.1707, allocations: 279.9 kB / 0.8379 GB, free: 4.016 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.1708, allocations: 50.48 kB / 0.8379 GB, free: 3.957 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.385e-05/0.1709, allocations: 24.91 kB / 0.838 GB, free: 3.93 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 4.492e-05/0.171, allocations: 7.984 kB / 0.838 GB, free: 3.922 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.171, allocations: 34.56 kB / 0.838 GB, free: 3.879 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.171, allocations: 0 / 0.838 GB, free: 3.879 MB / 0.5763 GB Notification: Performance of matching and sorting (n=2): time 0.0003557/0.1714, allocations: 113.4 kB / 0.8381 GB, free: 3.762 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.1714, allocations: 51.41 kB / 0.8382 GB, free: 3.699 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002987/0.1717, allocations: 257.9 kB / 0.8384 GB, free: 3.434 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.1717, allocations: 29.83 kB / 0.8384 GB, free: 3.398 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 8.966e-05/0.1718, allocations: 128.1 kB / 0.8386 GB, free: 3.27 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 2.078e-05/0.1718, allocations: 11.94 kB / 0.8386 GB, free: 3.258 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/0.1719, allocations: 13.72 kB / 0.8386 GB, free: 3.238 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.172, allocations: 330.8 kB / 0.8389 GB, free: 2.906 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.297e-05/0.1721, allocations: 19.97 kB / 0.8389 GB, free: 2.887 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.954e-05/0.1722, allocations: 19.98 kB / 0.8389 GB, free: 2.867 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.1723, allocations: 48.88 kB / 0.839 GB, free: 2.816 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.1723, allocations: 3.938 kB / 0.839 GB, free: 2.812 MB / 0.5763 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002098/0.1725, allocations: 101.4 kB / 0.8391 GB, free: 2.707 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.1725, allocations: 4 kB / 0.8391 GB, free: 2.703 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.1725, allocations: 0 / 0.8391 GB, free: 2.703 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.1726, allocations: 4.031 kB / 0.8391 GB, free: 2.699 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.302e-05/0.1726, allocations: 11.98 kB / 0.8391 GB, free: 2.688 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.1726, allocations: 0 / 0.8391 GB, free: 2.688 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.201e-05/0.1727, allocations: 8 kB / 0.8391 GB, free: 2.68 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-06/0.1727, allocations: 0 / 0.8391 GB, free: 2.68 MB / 0.5763 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.1728, allocations: 146.3 kB / 0.8393 GB, free: 2.527 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.35e-05/0.1729, allocations: 15.91 kB / 0.8393 GB, free: 2.512 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002491/0.1731, allocations: 98.55 kB / 0.8394 GB, free: 2.406 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1731, allocations: 0 / 0.8394 GB, free: 2.406 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1731, allocations: 0 / 0.8394 GB, free: 2.406 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1731, allocations: 0 / 0.8394 GB, free: 2.406 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002157/0.1733, allocations: 192.6 kB / 0.8396 GB, free: 2.176 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.1733, allocations: 0 / 0.8396 GB, free: 2.176 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.077e-05/0.1734, allocations: 4 kB / 0.8396 GB, free: 2.172 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.1734, allocations: 0 / 0.8396 GB, free: 2.172 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.1734, allocations: 0 / 0.8396 GB, free: 2.172 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1734, allocations: 4 kB / 0.8396 GB, free: 2.168 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1734, allocations: 4.031 kB / 0.8396 GB, free: 2.164 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002514/0.1736, allocations: 191.3 kB / 0.8397 GB, free: 1.961 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 2.6e-05/0.1737, allocations: 19.8 kB / 0.8398 GB, free: 1.941 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.1737, allocations: 0 / 0.8398 GB, free: 1.941 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.82e-05/0.1738, allocations: 7.984 kB / 0.8398 GB, free: 1.934 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/0.1738, allocations: 8.031 kB / 0.8398 GB, free: 1.926 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.1738, allocations: 4 kB / 0.8398 GB, free: 1.922 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0001794/0.174, allocations: 189.2 kB / 0.84 GB, free: 1.738 MB / 0.5763 GB Notification: Performance of sort global known variables: time 8.1e-08/0.174, allocations: 0 / 0.84 GB, free: 1.738 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002477/0.1742, allocations: 31.94 kB / 0.84 GB, free: 1.707 MB / 0.5763 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.0001738/0.1744, allocations: 119.2 kB / 0.8401 GB, free: 1.582 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0002197/0.1746, allocations: 47.95 kB / 0.8402 GB, free: 1.535 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1746, allocations: 0 / 0.8402 GB, free: 1.535 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 8.482e-05/0.1747, allocations: 23.98 kB / 0.8402 GB, free: 1.512 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004072/0.1751, allocations: 60.25 kB / 0.8402 GB, free: 1.453 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005848/0.1757, allocations: 360.4 kB / 0.8406 GB, free: 1.066 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000392/0.1761, allocations: 0.7275 MB / 0.8413 GB, free: 320 kB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.331e-05/0.1761, allocations: 11.44 kB / 0.8413 GB, free: 312 kB / 0.5763 GB Notification: Performance of SimCode: time 3e-07/0.1761, allocations: 0 / 0.8413 GB, free: 312 kB / 0.5763 GB Notification: Performance of Templates: time 0.003765/0.1799, allocations: 1.842 MB / 0.8431 GB, free: 14.48 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.162264683051035] Failed to read output from testmodel.py, exit status != 0: 0.1872650971636176 0.20236331100000002 0.030374182000000003 Calling exit ...