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.001885/0.001885, allocations: 79.36 kB / 19.18 MB, free: 2.52 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.002647/0.002647, allocations: 167 kB / 22.46 MB, free: 5.375 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.497/1.497, allocations: 177.1 MB / 202.8 MB, free: 9.191 MB / 190.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.002452/0.002452, allocations: 240.5 kB / 259.4 MB, free: 492 kB / 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.099/1.099, allocations: 138.4 MB / 454.3 MB, free: 2.07 MB / 366.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: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.6468 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.9e-05/3.075e-05, allocations: 2.281 kB / 0.6468 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist): time 0.003003/0.003033, allocations: 1.71 MB / 0.6484 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0007143/0.003748, allocations: 418.3 kB / 0.6488 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.128e-05/0.003789, allocations: 4 kB / 0.6488 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004587/0.004248, allocations: 127.3 kB / 0.649 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.951e-05/0.004337, allocations: 59.61 kB / 0.649 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002519/0.004589, allocations: 59.8 kB / 0.6491 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001526/0.004742, allocations: 107.4 kB / 0.6492 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.687e-05/0.004789, allocations: 7.984 kB / 0.6492 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.227e-05/0.004871, allocations: 43.83 kB / 0.6492 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.004972, allocations: 47.88 kB / 0.6493 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.004988, allocations: 0 / 0.6493 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001766/0.005164, allocations: 75.84 kB / 0.6493 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.742e-05/0.005252, allocations: 55.83 kB / 0.6494 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.769e-05/0.005309, allocations: 35.88 kB / 0.6494 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002964/0.005606, allocations: 187.3 kB / 0.6496 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.005609, allocations: 0 / 0.6496 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.32e-07/0.00561, allocations: 0 / 0.6496 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.005615, allocations: 4 kB / 0.6496 GB, free: 2.16 MB / 0.5606 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.0006032/0.006218, allocations: 413 kB / 0.65 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.006253, allocations: 12.69 kB / 0.65 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.975e-05/0.006293, allocations: 20.8 kB / 0.65 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.006451, allocations: 156.9 kB / 0.6502 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.006465, allocations: 8.375 kB / 0.6502 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.594e-06/0.006473, allocations: 384 / 0.6502 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001978/0.006671, allocations: 50.23 kB / 0.6502 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.006679, allocations: 4.188 kB / 0.6503 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.006687, allocations: 4.375 kB / 0.6503 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.769e-06/0.006697, allocations: 4.125 kB / 0.6503 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001806/0.006877, allocations: 39.95 kB / 0.6503 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004433/0.007321, allocations: 256.5 kB / 0.6505 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.007476, allocations: 46.55 kB / 0.6506 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.266e-05/0.007569, allocations: 20.91 kB / 0.6506 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.408e-05/0.007603, allocations: 8 kB / 0.6506 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/0.007641, allocations: 46.55 kB / 0.6507 GB, free: 0.9805 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.007642, allocations: 3.938 kB / 0.6507 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003941/0.008036, allocations: 113.4 kB / 0.6508 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/0.008088, allocations: 55.41 kB / 0.6508 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000276/0.008364, allocations: 249.9 kB / 0.6511 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.00838, allocations: 33.64 kB / 0.6511 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.00849, allocations: 132.2 kB / 0.6512 GB, free: 380 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.052e-05/0.008511, allocations: 7.953 kB / 0.6512 GB, free: 372 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.203e-05/0.008543, allocations: 13.72 kB / 0.6512 GB, free: 352 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.008712, allocations: 334.8 kB / 0.6516 GB, free: 8 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.294/0.3027, allocations: 13.56 kB / 0.6516 GB, free: 56.83 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.3028, allocations: 23.62 kB / 0.6516 GB, free: 56.83 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/0.303, allocations: 43.61 kB / 0.6516 GB, free: 56.82 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.303, allocations: 0 / 0.6516 GB, free: 56.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002544/0.3033, allocations: 92.12 kB / 0.6517 GB, free: 56.79 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.3033, allocations: 12.12 kB / 0.6517 GB, free: 56.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.3033, allocations: 1.266 kB / 0.6517 GB, free: 56.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.3033, allocations: 0.8438 kB / 0.6517 GB, free: 56.79 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.914e-05/0.3034, allocations: 9.641 kB / 0.6517 GB, free: 56.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.3034, allocations: 0.7031 kB / 0.6518 GB, free: 56.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.566e-05/0.3035, allocations: 6.984 kB / 0.6518 GB, free: 56.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.3035, allocations: 0 / 0.6518 GB, free: 56.79 MB / 0.5606 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.000121/0.3036, allocations: 141.8 kB / 0.6519 GB, free: 56.68 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.626e-05/0.3037, allocations: 21.75 kB / 0.6519 GB, free: 56.68 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002485/0.3039, allocations: 95.95 kB / 0.652 GB, free: 56.64 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.3039, allocations: 4 kB / 0.652 GB, free: 56.64 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.3039, allocations: 2.719 kB / 0.652 GB, free: 56.64 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.3039, allocations: 0.7031 kB / 0.652 GB, free: 56.64 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/0.3041, allocations: 153.8 kB / 0.6522 GB, free: 56.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3041, allocations: 0 / 0.6522 GB, free: 56.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.784e-05/0.3041, allocations: 10.28 kB / 0.6522 GB, free: 56.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3041, allocations: 1.312 kB / 0.6522 GB, free: 56.52 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.3041, allocations: 1.406 kB / 0.6522 GB, free: 56.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.3041, allocations: 3.859 kB / 0.6522 GB, free: 56.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3041, allocations: 0.8125 kB / 0.6522 GB, free: 56.52 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002441/0.3044, allocations: 184.2 kB / 0.6524 GB, free: 56.38 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.84e-05/0.3044, allocations: 18.73 kB / 0.6524 GB, free: 56.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.3044, allocations: 4.234 kB / 0.6524 GB, free: 56.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.62e-05/0.3045, allocations: 9.766 kB / 0.6524 GB, free: 56.37 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.076e-05/0.3046, allocations: 8.344 kB / 0.6524 GB, free: 56.37 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.738e-06/0.3046, allocations: 0.5938 kB / 0.6524 GB, free: 56.37 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001843/0.3048, allocations: 191.6 kB / 0.6526 GB, free: 56.29 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.3048, allocations: 0 / 0.6526 GB, free: 56.29 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003184/0.3051, allocations: 35.22 kB / 0.6526 GB, free: 56.29 MB / 0.5606 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.000244/0.3053, allocations: 123.9 kB / 0.6527 GB, free: 56.21 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002484/0.3056, allocations: 46.02 kB / 0.6528 GB, free: 56.21 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3056, allocations: 1.094 kB / 0.6528 GB, free: 56.21 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.105e-05/0.3057, allocations: 25 kB / 0.6528 GB, free: 56.21 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005474/0.3062, allocations: 42.88 kB / 0.6528 GB, free: 56.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000611/0.3068, allocations: 317 kB / 0.6531 GB, free: 56.03 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001312/0.307, allocations: 134.6 kB / 0.6533 GB, free: 55.96 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.718e-05/0.307, allocations: 3.656 kB / 0.6533 GB, free: 55.96 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.751e-05/0.307, allocations: 12.09 kB / 0.6533 GB, free: 55.95 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.307, allocations: 0 / 0.6533 GB, free: 55.95 MB / 0.5606 GB Notification: Performance of Templates: time 0.004857/0.3119, allocations: 1.842 MB / 0.6551 GB, free: 55.86 MB / 0.5606 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: 5.943430174142122] Failed to read output from testmodel.py, exit status != 0: 0.3199656829237938 0.32900600799999996 0.32114814899999994 Calling exit ...