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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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.7869/0.7869, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 179.8 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 221.3 MB / 441.4 MB, free: 4.617 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008517/0.0008521, allocations: 98.67 kB / 0.5124 GB, free: 24.12 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001736/0.001736, allocations: 269.3 kB / 0.5939 GB, free: 7.988 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.114e-05/4.117e-05, allocations: 7.984 kB / 0.6834 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4921/0.4922, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.174/0.6662, allocations: 110.5 MB / 0.8721 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003787/0.6667, allocations: 84.41 kB / 0.8722 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01799/0.6847, allocations: 4.813 MB / 0.8769 GB, free: 9.18 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.935e-06/0.6848, allocations: 3.938 kB / 0.8769 GB, free: 9.176 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.178e-06/0.6848, allocations: 0 / 0.8769 GB, free: 9.176 MB / 0.5417 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.0005687/0.6854, allocations: 430 kB / 0.8773 GB, free: 8.711 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/0.6855, allocations: 8.031 kB / 0.8773 GB, free: 8.703 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.039e-05/0.6855, allocations: 23.7 kB / 0.8773 GB, free: 8.68 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.6858, allocations: 206.6 kB / 0.8775 GB, free: 8.441 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.6858, allocations: 0 / 0.8775 GB, free: 8.441 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.6858, allocations: 4 kB / 0.8775 GB, free: 8.438 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.686, allocations: 41.69 kB / 0.8776 GB, free: 8.391 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.686, allocations: 0 / 0.8776 GB, free: 8.391 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.686, allocations: 4 kB / 0.8776 GB, free: 8.387 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.686, allocations: 0 / 0.8776 GB, free: 8.387 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.372e-05/0.6861, allocations: 23.92 kB / 0.8776 GB, free: 8.363 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006617/0.6868, allocations: 320.9 kB / 0.8779 GB, free: 8 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.6869, allocations: 30.58 kB / 0.8779 GB, free: 7.961 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.155e-05/0.687, allocations: 16.91 kB / 0.878 GB, free: 7.941 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.785e-05/0.687, allocations: 4 kB / 0.878 GB, free: 7.938 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.6871, allocations: 34.56 kB / 0.878 GB, free: 7.895 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.663e-06/0.6871, allocations: 4 kB / 0.878 GB, free: 7.891 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0002456/0.6874, allocations: 77.34 kB / 0.8781 GB, free: 7.809 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/0.6874, allocations: 51.41 kB / 0.8781 GB, free: 7.746 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003237/0.6878, allocations: 223.2 kB / 0.8783 GB, free: 7.52 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.6878, allocations: 25.7 kB / 0.8784 GB, free: 7.488 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.688, allocations: 136.1 kB / 0.8785 GB, free: 7.352 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.688, allocations: 3.906 kB / 0.8785 GB, free: 7.348 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.815e-06/0.688, allocations: 0 / 0.8785 GB, free: 7.348 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001841/0.6882, allocations: 342.7 kB / 0.8788 GB, free: 7.004 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.896e-05/0.6883, allocations: 12 kB / 0.8788 GB, free: 6.992 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.097e-05/0.6883, allocations: 8 kB / 0.8788 GB, free: 6.984 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.883e-05/0.6883, allocations: 15.92 kB / 0.8789 GB, free: 6.969 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.6884, allocations: 0 / 0.8789 GB, free: 6.969 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001559/0.6885, allocations: 69.44 kB / 0.8789 GB, free: 6.895 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.6886, allocations: 8 kB / 0.8789 GB, free: 6.887 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.6886, allocations: 0 / 0.8789 GB, free: 6.887 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.6886, allocations: 4.094 kB / 0.8789 GB, free: 6.883 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.6887, allocations: 11.98 kB / 0.8789 GB, free: 6.871 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.6888, allocations: 0 / 0.8789 GB, free: 6.871 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.6889, allocations: 11.98 kB / 0.879 GB, free: 6.859 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.264e-05/0.6889, allocations: 0 / 0.879 GB, free: 6.859 MB / 0.5417 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 () * 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 8.897e-05/0.689, allocations: 104.9 kB / 0.8791 GB, free: 6.75 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.637e-05/0.6891, allocations: 19.72 kB / 0.8791 GB, free: 6.73 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002142/0.6893, allocations: 86.48 kB / 0.8792 GB, free: 6.641 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.6893, allocations: 0 / 0.8792 GB, free: 6.641 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.6893, allocations: 0 / 0.8792 GB, free: 6.641 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.6894, allocations: 0 / 0.8792 GB, free: 6.641 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003144/0.6897, allocations: 217.5 kB / 0.8794 GB, free: 6.379 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.6897, allocations: 0 / 0.8794 GB, free: 6.379 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.853e-05/0.6898, allocations: 11.98 kB / 0.8794 GB, free: 6.367 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.6898, allocations: 0 / 0.8794 GB, free: 6.367 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.6898, allocations: 0 / 0.8794 GB, free: 6.367 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.6898, allocations: 8.031 kB / 0.8794 GB, free: 6.359 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.6898, allocations: 0 / 0.8794 GB, free: 6.359 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001935/0.69, allocations: 167.4 kB / 0.8795 GB, free: 6.18 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.108e-05/0.6901, allocations: 96.77 kB / 0.8796 GB, free: 6.066 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.887e-05/0.6902, allocations: 0 / 0.8796 GB, free: 6.066 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.6903, allocations: 7.984 kB / 0.8796 GB, free: 6.059 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.813e-05/0.6904, allocations: 8.031 kB / 0.8797 GB, free: 6.051 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.6904, allocations: 3.984 kB / 0.8797 GB, free: 6.047 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002479/0.6907, allocations: 191 kB / 0.8798 GB, free: 5.863 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6907, allocations: 0 / 0.8798 GB, free: 5.863 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000454/0.6912, allocations: 35.94 kB / 0.8799 GB, free: 5.828 MB / 0.5417 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 () * 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.0003468/0.6915, allocations: 161 kB / 0.88 GB, free: 5.668 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001221/0.6917, allocations: 20 kB / 0.88 GB, free: 5.648 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.6917, allocations: 0 / 0.88 GB, free: 5.648 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.048e-05/0.6917, allocations: 12 kB / 0.8801 GB, free: 5.637 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005061/0.6922, allocations: 44.59 kB / 0.8801 GB, free: 5.594 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005548/0.6928, allocations: 219.4 kB / 0.8803 GB, free: 5.359 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/0.6932, allocations: 0.7394 MB / 0.881 GB, free: 4.594 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 6.596e-05/0.6933, allocations: 8.188 kB / 0.881 GB, free: 4.582 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.604e-05/0.6933, allocations: 7.438 kB / 0.881 GB, free: 4.574 MB / 0.5417 GB Notification: Performance of SimCode: time 4.31e-07/0.6933, allocations: 0 / 0.881 GB, free: 4.574 MB / 0.5417 GB Notification: Performance of Templates: time 0.006931/0.7003, allocations: 2.153 MB / 0.8831 GB, free: 2.453 MB / 0.5417 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)