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.001493/0.001493, 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.001436/0.001436, allocations: 214.7 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.408/1.408, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.002444/0.002444, allocations: 295.7 kB / 313.5 MB, free: 2.613 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.203/1.203, allocations: 180.6 MB / 0.5377 GB, free: 14.49 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.002812/0.002812, allocations: 100.2 kB / 0.7407 GB, free: 28.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1592, allocations: 95.38 MB / 0.8338 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi): time 0.002958/0.1622, allocations: 1.705 MB / 0.8355 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001567/0.1638, allocations: 1.036 MB / 0.8365 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.256e-05/0.1638, allocations: 0 / 0.8365 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003837/0.1642, allocations: 127.5 kB / 0.8366 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.562e-05/0.1643, allocations: 51.73 kB / 0.8367 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003919/0.1647, allocations: 175.4 kB / 0.8369 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.1648, allocations: 111.5 kB / 0.837 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.737e-05/0.1649, allocations: 7.938 kB / 0.837 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.395e-05/0.1649, allocations: 43.78 kB / 0.837 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.52e-05/0.165, allocations: 55.75 kB / 0.8371 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.165, allocations: 0 / 0.8371 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003253/0.1654, allocations: 191.6 kB / 0.8373 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.871e-05/0.1654, allocations: 55.8 kB / 0.8373 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.237e-05/0.1655, allocations: 47.69 kB / 0.8374 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003827/0.1659, allocations: 294.9 kB / 0.8376 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1659, allocations: 0 / 0.8376 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.042e-06/0.1659, allocations: 4 kB / 0.8376 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.1659, allocations: 0 / 0.8376 GB, free: 3.934 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.0006114/0.1665, allocations: 440.7 kB / 0.8381 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.1665, allocations: 9.938 kB / 0.8381 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.34e-05/0.1666, allocations: 24.8 kB / 0.8381 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.1667, allocations: 161.6 kB / 0.8382 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.743e-06/0.1667, allocations: 384 / 0.8382 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.1668, allocations: 8.375 kB / 0.8383 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/0.167, allocations: 93.7 kB / 0.8383 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.167, allocations: 4 kB / 0.8383 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.167, allocations: 0 / 0.8383 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-06/0.167, allocations: 0 / 0.8383 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00022/0.1672, allocations: 91.94 kB / 0.8384 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004945/0.1677, allocations: 320.5 kB / 0.8387 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/0.1679, allocations: 102.5 kB / 0.8388 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.168, allocations: 60.83 kB / 0.8389 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.654e-05/0.1681, allocations: 23.98 kB / 0.8389 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.1681, allocations: 30.56 kB / 0.8389 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1681, allocations: 3.938 kB / 0.839 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.000446/0.1685, allocations: 193.5 kB / 0.8391 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.1686, allocations: 51.41 kB / 0.8392 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002642/0.1688, allocations: 261.9 kB / 0.8394 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.1688, allocations: 29.83 kB / 0.8395 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.641e-05/0.1689, allocations: 136.1 kB / 0.8396 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/0.169, allocations: 11.89 kB / 0.8396 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-05/0.169, allocations: 13.72 kB / 0.8396 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.1691, allocations: 334.8 kB / 0.8399 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.1693, allocations: 47.91 kB / 0.84 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.1694, allocations: 47.97 kB / 0.84 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002075/0.1696, allocations: 100.9 kB / 0.8401 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.1696, allocations: 3.938 kB / 0.8401 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002673/0.1698, allocations: 149.5 kB / 0.8403 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.1699, allocations: 8 kB / 0.8403 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.1699, allocations: 0 / 0.8403 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.1699, allocations: 0 / 0.8403 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.903e-05/0.1699, allocations: 11.92 kB / 0.8403 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.17, allocations: 4 kB / 0.8403 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.001e-05/0.17, allocations: 8.031 kB / 0.8403 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.17, allocations: 3.938 kB / 0.8403 GB, free: 1.027 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.000118/0.1701, allocations: 142.4 kB / 0.8404 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.451e-05/0.1702, allocations: 19.86 kB / 0.8405 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003335/0.1705, allocations: 162.6 kB / 0.8406 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.1705, allocations: 0 / 0.8406 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1705, allocations: 0 / 0.8406 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.1705, allocations: 4 kB / 0.8406 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002165/0.1707, allocations: 185.2 kB / 0.8408 GB, free: 488 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1707, allocations: 0 / 0.8408 GB, free: 488 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.081e-05/0.1708, allocations: 11.98 kB / 0.8408 GB, free: 476 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1708, allocations: 0 / 0.8408 GB, free: 476 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.1708, allocations: 4 kB / 0.8408 GB, free: 472 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1708, allocations: 4 kB / 0.8408 GB, free: 468 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.1708, allocations: 4 kB / 0.8408 GB, free: 464 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003244/0.1711, allocations: 255.2 kB / 0.8411 GB, free: 192 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.787e-05/0.1712, allocations: 19.89 kB / 0.8411 GB, free: 172 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.1712, allocations: 0 / 0.8411 GB, free: 172 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.916e-05/0.1713, allocations: 4 kB / 0.8411 GB, free: 168 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.534e-05/0.1713, allocations: 7.984 kB / 0.8411 GB, free: 160 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.1713, allocations: 0 / 0.8411 GB, free: 160 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001879/0.1715, allocations: 193.2 kB / 0.8413 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.1715, allocations: 0 / 0.8413 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002955/0.1718, allocations: 75.69 kB / 0.8413 GB, free: 15.89 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.0002538/0.172, allocations: 167 kB / 0.8415 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000266/0.1723, allocations: 111.9 kB / 0.8416 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1723, allocations: 0 / 0.8416 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.1724, allocations: 47.97 kB / 0.8417 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/0.1728, allocations: 54.77 kB / 0.8417 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005903/0.1734, allocations: 396.3 kB / 0.8421 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001203/0.1736, allocations: 125.1 kB / 0.8422 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.827e-05/0.1736, allocations: 11.44 kB / 0.8422 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of SimCode: time 3.3e-07/0.1736, allocations: 3.938 kB / 0.8422 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of Templates: time 0.004124/0.1777, allocations: 2.269 MB / 0.8444 GB, free: 12.69 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.093231542035937] Failed to read output from testmodel.py, exit status != 0: 0.18428091425448656 0.198599351 0.029889931 Calling exit ...