Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.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.001518/0.001518, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.0019/0.0019, allocations: 161.3 kB / 22.76 MB, free: 1.652 MB / 18.57 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.488/1.488, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 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.002602/0.002602, allocations: 228.9 kB / 259.8 MB, free: 12.84 MB / 250.7 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.127/1.127, allocations: 138.5 MB / 454.7 MB, free: 1.492 MB / 362.7 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.wDerPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.5543 GB, free: 0.8828 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.543e-05/2.699e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi): time 0.003386/0.003413, allocations: 1.701 MB / 0.556 GB, free: 15.16 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001643/0.005056, allocations: 0.9305 MB / 0.5569 GB, free: 14.23 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.902e-05/0.005105, allocations: 0 / 0.5569 GB, free: 14.23 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004399/0.005545, allocations: 135.3 kB / 0.557 GB, free: 14.09 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.00565, allocations: 51.73 kB / 0.5571 GB, free: 14.04 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003982/0.006048, allocations: 115.5 kB / 0.5572 GB, free: 13.93 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001732/0.006222, allocations: 107.4 kB / 0.5573 GB, free: 13.82 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.555e-05/0.006267, allocations: 11.98 kB / 0.5573 GB, free: 13.81 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.558e-05/0.006363, allocations: 47.83 kB / 0.5573 GB, free: 13.77 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.006466, allocations: 43.81 kB / 0.5574 GB, free: 13.72 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.006483, allocations: 4 kB / 0.5574 GB, free: 13.72 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002825/0.006766, allocations: 123.7 kB / 0.5575 GB, free: 13.6 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.006866, allocations: 63.8 kB / 0.5576 GB, free: 13.54 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.01e-05/0.006926, allocations: 35.88 kB / 0.5576 GB, free: 13.5 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003879/0.007314, allocations: 239.2 kB / 0.5578 GB, free: 13.27 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.225e-06/0.007316, allocations: 0 / 0.5578 GB, free: 13.27 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.007317, allocations: 0 / 0.5578 GB, free: 13.27 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.007321, allocations: 4 kB / 0.5578 GB, free: 13.26 MB / 490.7 MB 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.0008803/0.008202, allocations: 424.8 kB / 0.5582 GB, free: 12.82 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.00824, allocations: 12.75 kB / 0.5582 GB, free: 12.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.952e-05/0.0083, allocations: 24.78 kB / 0.5583 GB, free: 12.78 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.008474, allocations: 156.9 kB / 0.5584 GB, free: 12.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.008485, allocations: 384 / 0.5584 GB, free: 12.6 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.008499, allocations: 8.359 kB / 0.5584 GB, free: 12.59 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002025/0.008701, allocations: 62.23 kB / 0.5585 GB, free: 12.53 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.008708, allocations: 192 / 0.5585 GB, free: 12.53 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.008719, allocations: 12.06 kB / 0.5585 GB, free: 12.52 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.008725, allocations: 3.984 kB / 0.5585 GB, free: 12.51 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002137/0.008938, allocations: 59.89 kB / 0.5586 GB, free: 12.45 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000484/0.009422, allocations: 272.6 kB / 0.5588 GB, free: 12.16 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/0.009612, allocations: 70.53 kB / 0.5589 GB, free: 12.08 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.009725, allocations: 36.91 kB / 0.5589 GB, free: 12.04 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.343e-05/0.009769, allocations: 11.98 kB / 0.5589 GB, free: 12.03 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.009804, allocations: 34.5 kB / 0.559 GB, free: 11.98 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.009805, allocations: 3.938 kB / 0.559 GB, free: 11.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004388/0.01024, allocations: 137.5 kB / 0.5591 GB, free: 11.84 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.01029, allocations: 51.41 kB / 0.5591 GB, free: 11.78 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003172/0.01061, allocations: 257.9 kB / 0.5594 GB, free: 11.52 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.01063, allocations: 25.7 kB / 0.5594 GB, free: 11.48 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.01075, allocations: 144.2 kB / 0.5595 GB, free: 11.34 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.689e-05/0.01077, allocations: 3.953 kB / 0.5596 GB, free: 11.34 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.041e-05/0.01081, allocations: 17.7 kB / 0.5596 GB, free: 11.31 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001963/0.01101, allocations: 330.8 kB / 0.5599 GB, free: 10.98 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.01111, allocations: 27.97 kB / 0.5599 GB, free: 10.95 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.65e-05/0.01121, allocations: 27.98 kB / 0.5599 GB, free: 10.93 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/0.01141, allocations: 72.8 kB / 0.56 GB, free: 10.85 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.01141, allocations: 0 / 0.56 GB, free: 10.85 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002783/0.01169, allocations: 113.5 kB / 0.5601 GB, free: 10.73 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.0117, allocations: 8 kB / 0.5601 GB, free: 10.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.01171, allocations: 0 / 0.5601 GB, free: 10.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.01173, allocations: 4 kB / 0.5601 GB, free: 10.72 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.109e-05/0.01182, allocations: 11.98 kB / 0.5601 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.01182, allocations: 0 / 0.5601 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.239e-05/0.01189, allocations: 12.02 kB / 0.5602 GB, free: 10.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.0119, allocations: 0 / 0.5602 GB, free: 10.7 MB / 490.7 MB 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.0001303/0.01203, allocations: 133.8 kB / 0.5603 GB, free: 10.56 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.588e-05/0.01207, allocations: 19.84 kB / 0.5603 GB, free: 10.54 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003089/0.01238, allocations: 118.5 kB / 0.5604 GB, free: 10.42 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.01239, allocations: 0 / 0.5604 GB, free: 10.42 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.0124, allocations: 4 kB / 0.5604 GB, free: 10.41 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-06/0.0124, allocations: 0 / 0.5604 GB, free: 10.41 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002333/0.01264, allocations: 173.2 kB / 0.5606 GB, free: 10.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.01264, allocations: 3.938 kB / 0.5606 GB, free: 10.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.495e-05/0.0127, allocations: 7.984 kB / 0.5606 GB, free: 10.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.0127, allocations: 0 / 0.5606 GB, free: 10.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.01271, allocations: 7.938 kB / 0.5606 GB, free: 10.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.01271, allocations: 0 / 0.5606 GB, free: 10.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01271, allocations: 0 / 0.5606 GB, free: 10.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003333/0.01305, allocations: 199.4 kB / 0.5608 GB, free: 9.984 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.17e-05/0.01308, allocations: 27.88 kB / 0.5608 GB, free: 9.957 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.452e-05/0.0131, allocations: 3.938 kB / 0.5608 GB, free: 9.953 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.918e-05/0.0132, allocations: 4 kB / 0.5608 GB, free: 9.949 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/0.01324, allocations: 3.984 kB / 0.5608 GB, free: 9.945 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.01325, allocations: 4 kB / 0.5608 GB, free: 9.941 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000217/0.01346, allocations: 185.2 kB / 0.561 GB, free: 9.766 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01346, allocations: 0 / 0.561 GB, free: 9.766 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003146/0.01378, allocations: 55.8 kB / 0.5611 GB, free: 9.711 MB / 490.7 MB 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.0002604/0.01404, allocations: 151.1 kB / 0.5612 GB, free: 9.555 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002577/0.0143, allocations: 63.95 kB / 0.5613 GB, free: 9.492 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.0143, allocations: 0 / 0.5613 GB, free: 9.492 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.01441, allocations: 39.91 kB / 0.5613 GB, free: 9.453 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004895/0.0149, allocations: 56.39 kB / 0.5614 GB, free: 9.395 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006366/0.01554, allocations: 329.1 kB / 0.5617 GB, free: 9.043 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001456/0.01568, allocations: 118.9 kB / 0.5618 GB, free: 8.91 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.962e-05/0.01573, allocations: 19.97 kB / 0.5618 GB, free: 8.891 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.922e-05/0.01576, allocations: 12.5 kB / 0.5618 GB, free: 8.879 MB / 490.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01576, allocations: 0 / 0.5618 GB, free: 8.879 MB / 490.7 MB Notification: Performance of Templates: time 0.00563/0.02139, allocations: 2 MB / 0.5638 GB, free: 6.941 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.571133897057734]