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.4402/0.4402, allocations: 54.42 MB / 61.89 MB, free: 13.74 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.001154/0.001154, allocations: 179.5 kB / 75.61 MB, free: 0.7734 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.933/1.933, allocations: 194.3 MB / 283.5 MB, free: 14.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001792/0.001793, allocations: 109.7 kB / 341.6 MB, free: 4.031 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.742e-05/1.745e-05, allocations: 4 kB / 405.5 MB, free: 4.137 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4446/0.4446, allocations: 57.65 MB / 463.2 MB, free: 51.67 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.698/6.143, allocations: 2.12 GB / 2.572 GB, free: 23.79 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/6.143, allocations: 87.95 kB / 2.572 GB, free: 23.7 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.217/7.36, allocations: 288.2 MB / 2.854 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.623e-06/7.36, allocations: 0 / 2.854 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.759e-05/7.36, allocations: 15.09 kB / 2.854 GB, free: 108.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.001845/7.362, allocations: 0.7316 MB / 2.854 GB, free: 107.9 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/7.362, allocations: 14.22 kB / 2.854 GB, free: 107.9 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003668/7.362, allocations: 62.44 kB / 2.854 GB, free: 107.9 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006458/7.363, allocations: 369.2 kB / 2.855 GB, free: 107.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/7.363, allocations: 15.61 kB / 2.855 GB, free: 107.7 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.099e-05/7.363, allocations: 25.09 kB / 2.855 GB, free: 107.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004884/7.364, allocations: 267 kB / 2.855 GB, free: 107.7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005544/7.364, allocations: 316.3 kB / 2.855 GB, free: 107.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/7.364, allocations: 6.031 kB / 2.855 GB, free: 107.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.497e-05/7.364, allocations: 0 / 2.855 GB, free: 107.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/7.364, allocations: 7.469 kB / 2.855 GB, free: 107.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001986/7.366, allocations: 1.276 MB / 2.857 GB, free: 107.1 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003635/7.367, allocations: 159.3 kB / 2.857 GB, free: 107 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/7.367, allocations: 77.61 kB / 2.857 GB, free: 107 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002715/7.367, allocations: 119 kB / 2.857 GB, free: 106.9 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/7.367, allocations: 40.06 kB / 2.857 GB, free: 106.9 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 1.744e-06/7.367, allocations: 0 / 2.857 GB, free: 106.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.0005695/7.368, allocations: 242.2 kB / 2.857 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.35e-05/7.368, allocations: 51.41 kB / 2.857 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002013/7.368, allocations: 222.8 kB / 2.858 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.322e-05/7.368, allocations: 31.92 kB / 2.858 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/7.368, allocations: 233.7 kB / 2.858 GB, free: 106.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.019e-05/7.368, allocations: 66.83 kB / 2.858 GB, free: 106.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.144e-05/7.368, allocations: 0 / 2.858 GB, free: 106.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.308e-05/7.368, allocations: 335.6 kB / 2.858 GB, free: 106.2 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/7.368, allocations: 76.88 kB / 2.858 GB, free: 106.2 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/7.368, allocations: 120 kB / 2.858 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003017/7.369, allocations: 139.6 kB / 2.859 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/7.369, allocations: 0 / 2.859 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004993/7.369, allocations: 302 kB / 2.859 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/7.369, allocations: 7.312 kB / 2.859 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/7.369, allocations: 0 / 2.859 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/7.369, allocations: 6.406 kB / 2.859 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002364/7.37, allocations: 63.61 kB / 2.859 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/7.37, allocations: 3.125 kB / 2.859 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002706/7.37, allocations: 39.03 kB / 2.859 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/7.37, allocations: 4.938 kB / 2.859 GB, free: 106.1 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 () * 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 8.528e-05/7.37, allocations: 113.8 kB / 2.859 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.415e-05/7.37, allocations: 30.67 kB / 2.859 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005592/7.371, allocations: 260.3 kB / 2.859 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/7.371, allocations: 3.219 kB / 2.859 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/7.371, allocations: 0 / 2.859 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/7.371, allocations: 2.781 kB / 2.859 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009312/7.372, allocations: 0.7296 MB / 2.86 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/7.372, allocations: 0 / 2.86 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001924/7.372, allocations: 41.09 kB / 2.86 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/7.372, allocations: 2.938 kB / 2.86 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/7.372, allocations: 3.094 kB / 2.86 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/7.372, allocations: 9.359 kB / 2.86 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/7.372, allocations: 7.703 kB / 2.86 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006145/7.373, allocations: 0.5334 MB / 2.861 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/7.373, allocations: 138.9 kB / 2.861 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.16e-05/7.373, allocations: 4 kB / 2.861 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003016/7.373, allocations: 33.84 kB / 2.861 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.318e-05/7.373, allocations: 18.34 kB / 2.861 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.946e-05/7.373, allocations: 14.83 kB / 2.861 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001194/7.373, allocations: 173 kB / 2.861 GB, free: 105.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.21e-07/7.373, allocations: 6.375 kB / 2.861 GB, free: 105.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0007177/7.374, allocations: 203.4 kB / 2.861 GB, free: 105.1 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 () * 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.0019/7.376, allocations: 1.34 MB / 2.862 GB, free: 104.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003046/7.376, allocations: 177.1 kB / 2.863 GB, free: 104.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/7.376, allocations: 2.438 kB / 2.863 GB, free: 104.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001162/7.376, allocations: 87.22 kB / 2.863 GB, free: 104.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006137/7.377, allocations: 98.48 kB / 2.863 GB, free: 104.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000955/7.378, allocations: 0.5507 MB / 2.863 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/7.378, allocations: 0.8304 MB / 2.864 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003149/7.379, allocations: 56.34 kB / 2.864 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.361e-05/7.379, allocations: 26.31 kB / 2.864 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of SimCode: time 2.91e-07/7.379, allocations: 0 / 2.864 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.01924/7.398, allocations: 11.41 MB / 2.875 GB, free: 102.7 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)