Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5474/0.5474, allocations: 95.62 MB / 110.6 MB, free: 9.363 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001101/0.001101, allocations: 165.9 kB / 134.2 MB, free: 2.262 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.629/1.629, allocations: 170.7 MB / 328.4 MB, free: 12.26 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00174/0.00174, allocations: 113.8 kB / 390.7 MB, free: 13.93 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004352/0.0004352, allocations: 12 kB / 462.7 MB, free: 35.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1763, allocations: 61.53 MB / 0.512 GB, free: 6.09 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.075/1.252, allocations: 364.7 MB / 0.8681 GB, free: 48.46 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/1.252, allocations: 92.02 kB / 0.8682 GB, free: 48.41 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.5647/1.817, allocations: 113.6 MB / 0.9791 GB, free: 163.4 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.513e-06/1.817, allocations: 0 / 0.9791 GB, free: 163.4 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.697e-05/1.817, allocations: 11.66 kB / 0.9791 GB, free: 163.4 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001486/1.818, allocations: 0.6745 MB / 0.9798 GB, free: 162.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/1.818, allocations: 15.23 kB / 0.9798 GB, free: 162.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004258/1.819, allocations: 54.44 kB / 0.9799 GB, free: 162.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007586/1.82, allocations: 379.9 kB / 0.9802 GB, free: 162.4 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.148e-05/1.82, allocations: 46.11 kB / 0.9803 GB, free: 162.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.2e-05/1.82, allocations: 27.56 kB / 0.9803 GB, free: 162.4 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006619/1.82, allocations: 374.8 kB / 0.9807 GB, free: 162.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/1.82, allocations: 3.938 kB / 0.9807 GB, free: 162.1 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.936e-05/1.82, allocations: 10.91 kB / 0.9807 GB, free: 162.1 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/1.821, allocations: 7.562 kB / 0.9807 GB, free: 162.1 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005249/1.821, allocations: 251.8 kB / 0.9809 GB, free: 162 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002531/1.824, allocations: 1.399 MB / 0.9823 GB, free: 160.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002614/1.824, allocations: 134 kB / 0.9824 GB, free: 160.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002753/1.824, allocations: 119.1 kB / 0.9825 GB, free: 160.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.188e-05/1.824, allocations: 38.38 kB / 0.9826 GB, free: 160.5 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=13): time 2.715e-06/1.824, allocations: 0 / 0.9826 GB, free: 160.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13): time 0.0007444/1.825, allocations: 255.1 kB / 0.9828 GB, free: 160.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.397e-05/1.825, allocations: 106.7 kB / 0.9829 GB, free: 160.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004241/1.825, allocations: 353.5 kB / 0.9832 GB, free: 160.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.281e-05/1.826, allocations: 33.7 kB / 0.9833 GB, free: 160 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/1.826, allocations: 231 kB / 0.9835 GB, free: 159.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.824e-05/1.826, allocations: 51.17 kB / 0.9836 GB, free: 159.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.137e-05/1.826, allocations: 4 kB / 0.9836 GB, free: 159.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001394/1.826, allocations: 354.6 kB / 0.9839 GB, free: 159.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001875/1.826, allocations: 74.39 kB / 0.984 GB, free: 159.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002375/1.826, allocations: 186.6 kB / 0.9841 GB, free: 159.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002185/1.827, allocations: 112.8 kB / 0.9842 GB, free: 159.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/1.827, allocations: 3.188 kB / 0.9843 GB, free: 159.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006246/1.827, allocations: 307.2 kB / 0.9845 GB, free: 159 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.09e-05/1.827, allocations: 8.188 kB / 0.9846 GB, free: 159 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/1.827, allocations: 6.438 kB / 0.9846 GB, free: 159 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.426e-05/1.827, allocations: 3.875 kB / 0.9846 GB, free: 159 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002589/1.828, allocations: 63.06 kB / 0.9846 GB, free: 159 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/1.828, allocations: 10.41 kB / 0.9846 GB, free: 159 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003793/1.828, allocations: 51.06 kB / 0.9847 GB, free: 158.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-05/1.828, allocations: 13.72 kB / 0.9847 GB, free: 158.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (30): * Single equations (assignments): 30 * 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.0001986/1.828, allocations: 156.7 kB / 0.9848 GB, free: 158.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.817e-05/1.828, allocations: 47.77 kB / 0.9849 GB, free: 158.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004236/1.829, allocations: 213.7 kB / 0.9851 GB, free: 158.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/1.829, allocations: 2.312 kB / 0.9851 GB, free: 158.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/1.829, allocations: 3.938 kB / 0.9851 GB, free: 158.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/1.829, allocations: 7.938 kB / 0.9851 GB, free: 158.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008004/1.83, allocations: 0.6065 MB / 0.9857 GB, free: 158.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/1.83, allocations: 3.984 kB / 0.9857 GB, free: 158.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/1.83, allocations: 35.7 kB / 0.9857 GB, free: 158.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/1.83, allocations: 3.594 kB / 0.9857 GB, free: 158.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/1.83, allocations: 0 / 0.9857 GB, free: 158.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/1.83, allocations: 6.438 kB / 0.9857 GB, free: 158.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.83, allocations: 0 / 0.9857 GB, free: 158.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005847/1.83, allocations: 422.2 kB / 0.9861 GB, free: 157.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/1.831, allocations: 121.9 kB / 0.9863 GB, free: 157.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.434e-05/1.831, allocations: 7.359 kB / 0.9863 GB, free: 157.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003102/1.831, allocations: 30.69 kB / 0.9863 GB, free: 157.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.062e-05/1.831, allocations: 17 kB / 0.9863 GB, free: 157.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-05/1.831, allocations: 10.67 kB / 0.9863 GB, free: 157.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002402/1.831, allocations: 273 kB / 0.9866 GB, free: 157.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/1.831, allocations: 4 kB / 0.9866 GB, free: 157.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000526/1.832, allocations: 127 kB / 0.9867 GB, free: 157.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (senH_flow.h_out,senH.h_out) * 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 (13): * Single equations (assignments): 13 * 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.0005943/1.832, allocations: 266.1 kB / 0.987 GB, free: 157.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004502/1.833, allocations: 199.5 kB / 0.9872 GB, free: 157.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.833, allocations: 0 / 0.9872 GB, free: 157.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000145/1.833, allocations: 78.97 kB / 0.9872 GB, free: 157.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007916/1.834, allocations: 183.7 kB / 0.9874 GB, free: 157.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/1.835, allocations: 0.8607 MB / 0.9882 GB, free: 156.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/1.835, allocations: 0.8017 MB / 0.989 GB, free: 155.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002766/1.836, allocations: 75.08 kB / 0.9891 GB, free: 155.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.933e-05/1.836, allocations: 31.06 kB / 0.9891 GB, free: 155.6 MB / 0.5261 GB Notification: Performance of SimCode: time 3.6e-07/1.836, allocations: 0 / 0.9891 GB, free: 155.6 MB / 0.5261 GB Notification: Performance of Templates: time 0.01283/1.849, allocations: 7.564 MB / 0.9965 GB, free: 151.9 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)