Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3057/0.3057, allocations: 55.01 MB / 69.96 MB, free: 8.684 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001888/0.001889, allocations: 191.8 kB / 83.98 MB, free: 10.84 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.661/1.661, allocations: 194.4 MB / 292.3 MB, free: 3.59 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001734/0.001733, allocations: 113.9 kB / 350.7 MB, free: 9.098 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003992/0.0003992, allocations: 12 kB / 418.9 MB, free: 37.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1413, allocations: 57.66 MB / 476.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.576/5.718, allocations: 2.121 GB / 2.586 GB, free: 63.5 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003362/5.718, allocations: 87.95 kB / 2.586 GB, free: 63.41 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.283/7.001, allocations: 292.2 MB / 2.871 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.858e-06/7.001, allocations: 0 / 2.871 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.745e-05/7.001, allocations: 12.61 kB / 2.871 GB, free: 104.4 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.002207/7.003, allocations: 0.7921 MB / 2.872 GB, free: 104 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.994e-05/7.003, allocations: 11.31 kB / 2.872 GB, free: 104 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003174/7.004, allocations: 59.81 kB / 2.872 GB, free: 104 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006994/7.004, allocations: 366.7 kB / 2.873 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.134e-05/7.004, allocations: 33.28 kB / 2.873 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.939e-05/7.004, allocations: 44.17 kB / 2.873 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008398/7.005, allocations: 392.8 kB / 2.873 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/7.005, allocations: 3.375 kB / 2.873 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.482e-05/7.005, allocations: 22.53 kB / 2.873 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.499e-05/7.005, allocations: 7.281 kB / 2.873 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006501/7.006, allocations: 332.6 kB / 2.873 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002297/7.008, allocations: 1.402 MB / 2.875 GB, free: 103 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003767/7.009, allocations: 185.3 kB / 2.875 GB, free: 103 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000297/7.009, allocations: 113 kB / 2.875 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/7.009, allocations: 40.47 kB / 2.875 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 3.888e-06/7.009, allocations: 0 / 2.875 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.0007417/7.01, allocations: 329.7 kB / 2.875 GB, free: 102.8 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/7.01, allocations: 51.41 kB / 2.875 GB, free: 102.8 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004273/7.01, allocations: 380.5 kB / 2.876 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/7.01, allocations: 28.3 kB / 2.876 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/7.011, allocations: 230.9 kB / 2.876 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.138e-05/7.011, allocations: 64.72 kB / 2.876 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.347e-05/7.011, allocations: 6.875 kB / 2.876 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001208/7.011, allocations: 350.8 kB / 2.876 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000196/7.011, allocations: 97.12 kB / 2.877 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002322/7.011, allocations: 148.4 kB / 2.877 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002077/7.011, allocations: 113.9 kB / 2.877 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/7.011, allocations: 0 / 2.877 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005136/7.012, allocations: 321.6 kB / 2.877 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/7.012, allocations: 7.75 kB / 2.877 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/7.012, allocations: 3.797 kB / 2.877 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/7.012, allocations: 3.812 kB / 2.877 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002366/7.012, allocations: 57.88 kB / 2.877 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.493e-05/7.012, allocations: 8.688 kB / 2.877 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003052/7.013, allocations: 53.83 kB / 2.877 GB, free: 102 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.192e-05/7.013, allocations: 11.03 kB / 2.877 GB, free: 102 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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.000213/7.013, allocations: 176 kB / 2.877 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.264e-05/7.013, allocations: 37.84 kB / 2.877 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005556/7.014, allocations: 267.6 kB / 2.878 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/7.014, allocations: 3.781 kB / 2.878 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/7.014, allocations: 5.062 kB / 2.878 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/7.014, allocations: 0 / 2.878 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/7.015, allocations: 0.7777 MB / 2.878 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/7.015, allocations: 3.938 kB / 2.878 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001957/7.015, allocations: 48.03 kB / 2.878 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/7.015, allocations: 3.25 kB / 2.878 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.085e-05/7.015, allocations: 6.844 kB / 2.878 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.191e-06/7.015, allocations: 11.14 kB / 2.879 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/7.015, allocations: 0 / 2.879 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007578/7.016, allocations: 0.5652 MB / 2.879 GB, free: 101.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002051/7.016, allocations: 149.6 kB / 2.879 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.199e-05/7.016, allocations: 3.219 kB / 2.879 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003326/7.016, allocations: 31.23 kB / 2.879 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.717e-05/7.016, allocations: 19.62 kB / 2.879 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.748e-05/7.016, allocations: 17.5 kB / 2.879 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003063/7.017, allocations: 298.2 kB / 2.88 GB, free: 101 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.91e-07/7.017, allocations: 1.469 kB / 2.88 GB, free: 101 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001015/7.018, allocations: 225.7 kB / 2.88 GB, free: 101 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (18): * Single equations (assignments): 18 * 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.002108/7.02, allocations: 1.184 MB / 2.881 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005325/7.02, allocations: 231.5 kB / 2.881 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/7.02, allocations: 0 / 2.881 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001983/7.021, allocations: 115.8 kB / 2.881 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/7.022, allocations: 213 kB / 2.881 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/7.023, allocations: 0.9646 MB / 2.882 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/7.024, allocations: 0.8268 MB / 2.883 GB, free: 99.53 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003405/7.024, allocations: 80.7 kB / 2.883 GB, free: 99.53 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.366e-05/7.024, allocations: 34.94 kB / 2.883 GB, free: 99.52 MB / 0.4948 GB Notification: Performance of SimCode: time 4.41e-07/7.024, allocations: 0 / 2.883 GB, free: 99.52 MB / 0.4948 GB Notification: Performance of Templates: time 0.03457/7.059, allocations: 22.01 MB / 2.905 GB, free: 98.54 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)