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/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8349/0.8349, allocations: 140 MB / 156 MB, free: 8.41 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001175/0.001175, allocations: 168.6 kB / 188.5 MB, free: 8.969 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.49/1.49, allocations: 205.4 MB / 426.3 MB, free: 8.031 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007301/0.0007301, allocations: 94.34 kB / 0.4945 GB, free: 7.961 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001603/0.001602, allocations: 271 kB / 0.5728 GB, free: 66.1 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004781/0.0004783, allocations: 16 kB / 0.662 GB, free: 6.688 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3349, allocations: 79.3 MB / 0.7395 GB, free: 46.26 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1264/0.4614, allocations: 109 MB / 0.8459 GB, free: 1.125 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/0.4616, allocations: 95.92 kB / 0.846 GB, free: 1.031 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.01127/0.4729, allocations: 4.691 MB / 0.8506 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.104e-06/0.473, allocations: 0 / 0.8506 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.473, allocations: 0 / 0.8506 GB, free: 12.24 MB / 0.5261 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.0005225/0.4735, allocations: 470.4 kB / 0.851 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.4735, allocations: 12.03 kB / 0.851 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.381e-05/0.4736, allocations: 20.66 kB / 0.851 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.4738, allocations: 215.8 kB / 0.8512 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.4738, allocations: 384 / 0.8512 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.4738, allocations: 8.359 kB / 0.8513 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002104/0.474, allocations: 62.22 kB / 0.8513 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.4741, allocations: 192 / 0.8513 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.4741, allocations: 7.938 kB / 0.8513 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.4741, allocations: 0 / 0.8513 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001845/0.4743, allocations: 55.89 kB / 0.8514 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004642/0.4748, allocations: 312.9 kB / 0.8517 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.4749, allocations: 58.48 kB / 0.8517 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.168e-05/0.475, allocations: 32.91 kB / 0.8518 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.299e-05/0.4751, allocations: 7.984 kB / 0.8518 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.4751, allocations: 30.56 kB / 0.8518 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.4751, allocations: 0 / 0.8518 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0003904/0.4755, allocations: 133.3 kB / 0.8519 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.4755, allocations: 55.41 kB / 0.852 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002302/0.4758, allocations: 254.7 kB / 0.8522 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.4758, allocations: 25.7 kB / 0.8522 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.689e-05/0.4759, allocations: 136.1 kB / 0.8524 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.4759, allocations: 7.906 kB / 0.8524 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-06/0.4759, allocations: 4.125 kB / 0.8524 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.4761, allocations: 330.8 kB / 0.8527 GB, free: 9.836 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.408e-05/0.4761, allocations: 23.98 kB / 0.8527 GB, free: 9.812 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.663e-05/0.4762, allocations: 27.97 kB / 0.8528 GB, free: 9.785 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.4764, allocations: 64.81 kB / 0.8528 GB, free: 9.719 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4764, allocations: 3.938 kB / 0.8528 GB, free: 9.715 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002077/0.4766, allocations: 101.4 kB / 0.8529 GB, free: 9.609 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.4767, allocations: 10.34 kB / 0.8529 GB, free: 9.602 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.4767, allocations: 0 / 0.8529 GB, free: 9.602 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.4767, allocations: 0 / 0.8529 GB, free: 9.602 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.445e-05/0.4768, allocations: 11.98 kB / 0.8529 GB, free: 9.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.4768, allocations: 0 / 0.8529 GB, free: 9.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.014e-05/0.4769, allocations: 20.02 kB / 0.853 GB, free: 9.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.4769, allocations: 0 / 0.853 GB, free: 9.57 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001116/0.477, allocations: 137.8 kB / 0.8531 GB, free: 9.426 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.625e-05/0.477, allocations: 23.7 kB / 0.8531 GB, free: 9.402 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002717/0.4773, allocations: 110.5 kB / 0.8532 GB, free: 9.285 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.4773, allocations: 4 kB / 0.8532 GB, free: 9.281 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4773, allocations: 0 / 0.8532 GB, free: 9.281 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.4774, allocations: 0 / 0.8532 GB, free: 9.281 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/0.4776, allocations: 213.5 kB / 0.8534 GB, free: 9.023 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4776, allocations: 0 / 0.8534 GB, free: 9.023 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.134e-05/0.4777, allocations: 11.98 kB / 0.8534 GB, free: 9.012 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.4777, allocations: 0 / 0.8534 GB, free: 9.012 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.4777, allocations: 8.031 kB / 0.8534 GB, free: 9.004 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4777, allocations: 0 / 0.8534 GB, free: 9.004 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.4777, allocations: 4 kB / 0.8534 GB, free: 9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002996/0.478, allocations: 203.2 kB / 0.8536 GB, free: 8.785 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.829e-05/0.4781, allocations: 96.81 kB / 0.8537 GB, free: 8.672 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.168e-05/0.4781, allocations: 0 / 0.8537 GB, free: 8.672 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.151e-05/0.4782, allocations: 8 kB / 0.8537 GB, free: 8.664 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.21e-05/0.4782, allocations: 3.984 kB / 0.8537 GB, free: 8.66 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-06/0.4783, allocations: 0 / 0.8537 GB, free: 8.66 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000156/0.4784, allocations: 189.9 kB / 0.8539 GB, free: 8.473 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4784, allocations: 0 / 0.8539 GB, free: 8.473 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002661/0.4787, allocations: 43.92 kB / 0.854 GB, free: 8.43 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002078/0.4789, allocations: 147.2 kB / 0.8541 GB, free: 8.277 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002018/0.4791, allocations: 55.95 kB / 0.8542 GB, free: 8.223 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4791, allocations: 0 / 0.8542 GB, free: 8.223 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 8.347e-05/0.4792, allocations: 35.91 kB / 0.8542 GB, free: 8.188 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.4796, allocations: 40.58 kB / 0.8542 GB, free: 8.148 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005228/0.4801, allocations: 360.4 kB / 0.8546 GB, free: 7.766 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.4804, allocations: 0.7355 MB / 0.8553 GB, free: 7.004 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.344e-05/0.4805, allocations: 7.75 kB / 0.8553 GB, free: 6.996 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.844e-05/0.4805, allocations: 7.438 kB / 0.8553 GB, free: 6.988 MB / 0.5261 GB Notification: Performance of SimCode: time 2.31e-07/0.4805, allocations: 0 / 0.8553 GB, free: 6.988 MB / 0.5261 GB Notification: Performance of Templates: time 0.006186/0.4867, allocations: 1.989 MB / 0.8573 GB, free: 5.031 MB / 0.5261 GB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.makefile (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)