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/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009894/0.0009895, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.595/1.595, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4598/0.4598, allocations: 55.01 MB / 325.4 MB, free: 0.668 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005565/0.0005565, allocations: 12 kB / 396.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4833/0.4839, allocations: 60.72 MB / 457.4 MB, free: 38.42 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.2073/0.6912, allocations: 152.2 MB / 0.5953 GB, free: 15.02 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.009783/0.7011, allocations: 6.039 MB / 0.6012 GB, free: 8.969 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005434/0.7017, allocations: 11.94 kB / 0.6012 GB, free: 8.957 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009824/0.7027, allocations: 167 kB / 0.6014 GB, free: 8.793 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002171/0.7049, allocations: 0.5714 MB / 0.6019 GB, free: 8.219 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.7061, allocations: 329.8 kB / 0.6022 GB, free: 7.902 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001716/0.7078, allocations: 1.284 MB / 0.6035 GB, free: 6.617 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005263/0.7084, allocations: 280.9 kB / 0.6038 GB, free: 6.34 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002119/0.7105, allocations: 0.6303 MB / 0.6044 GB, free: 5.707 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008118/0.7113, allocations: 386.6 kB / 0.6047 GB, free: 5.328 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.988e-05/0.7114, allocations: 24 kB / 0.6048 GB, free: 5.305 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003735/0.7118, allocations: 87.94 kB / 0.6048 GB, free: 5.219 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002181/0.712, allocations: 168.6 kB / 0.605 GB, free: 5.055 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000157/0.7122, allocations: 125.5 kB / 0.6051 GB, free: 4.926 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005277/0.7127, allocations: 474.8 kB / 0.6056 GB, free: 4.461 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.114e-05/0.7128, allocations: 4 kB / 0.6056 GB, free: 4.457 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.7128, allocations: 0 / 0.6056 GB, free: 4.457 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.7128, allocations: 0 / 0.6056 GB, free: 4.457 MB / 478.1 MB 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.001281/0.7141, allocations: 0.6645 MB / 0.6062 GB, free: 3.746 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.7141, allocations: 12.03 kB / 0.6062 GB, free: 3.734 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002631/0.7144, allocations: 57.14 kB / 0.6063 GB, free: 3.68 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005164/0.7149, allocations: 346.3 kB / 0.6066 GB, free: 3.301 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.268e-05/0.715, allocations: 40.89 kB / 0.6067 GB, free: 3.262 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.22e-05/0.715, allocations: 40 kB / 0.6067 GB, free: 3.223 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007544/0.7158, allocations: 403.9 kB / 0.6071 GB, free: 2.824 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.7158, allocations: 7.984 kB / 0.6071 GB, free: 2.816 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.817e-05/0.7159, allocations: 16 kB / 0.6071 GB, free: 2.801 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.7159, allocations: 8 kB / 0.6071 GB, free: 2.793 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006559/0.7166, allocations: 341 kB / 0.6074 GB, free: 2.461 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002265/0.7188, allocations: 1.43 MB / 0.6088 GB, free: 0.918 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004033/0.7193, allocations: 202.5 kB / 0.609 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002168/0.7195, allocations: 104.8 kB / 0.6091 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003678/0.7199, allocations: 129.1 kB / 0.6093 GB, free: 476 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.7199, allocations: 34.55 kB / 0.6093 GB, free: 432 kB / 478.1 MB Notification: Performance of pre-optimization done (n=18): time 2.505e-06/0.7199, allocations: 4 kB / 0.6093 GB, free: 428 kB / 478.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007578/0.7207, allocations: 337.3 kB / 0.6096 GB, free: 84 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.7208, allocations: 67.3 kB / 0.6097 GB, free: 4 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005031/0.7213, allocations: 425.6 kB / 0.6101 GB, free: 15.58 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.327e-05/0.7213, allocations: 25.7 kB / 0.6101 GB, free: 15.55 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/0.7215, allocations: 228.6 kB / 0.6103 GB, free: 15.32 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.602e-05/0.7216, allocations: 59.11 kB / 0.6104 GB, free: 15.26 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.396e-05/0.7216, allocations: 4 kB / 0.6104 GB, free: 15.26 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.7218, allocations: 346.8 kB / 0.6107 GB, free: 14.91 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/0.722, allocations: 99.94 kB / 0.6108 GB, free: 14.81 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002612/0.7222, allocations: 149.9 kB / 0.611 GB, free: 14.64 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002348/0.7225, allocations: 116 kB / 0.6111 GB, free: 14.53 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.7225, allocations: 0 / 0.6111 GB, free: 14.53 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005786/0.7231, allocations: 339.6 kB / 0.6114 GB, free: 14.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.7231, allocations: 8.844 kB / 0.6114 GB, free: 14.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.7231, allocations: 0 / 0.6114 GB, free: 14.19 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.7232, allocations: 4 kB / 0.6114 GB, free: 14.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002324/0.7234, allocations: 55.91 kB / 0.6115 GB, free: 14.13 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/0.7234, allocations: 4 kB / 0.6115 GB, free: 14.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002818/0.7237, allocations: 63.61 kB / 0.6115 GB, free: 14.06 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.758e-05/0.7237, allocations: 12.62 kB / 0.6115 GB, free: 14.05 MB / 494.1 MB 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.0002174/0.724, allocations: 165.8 kB / 0.6117 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.763e-05/0.7241, allocations: 43.53 kB / 0.6117 GB, free: 13.84 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005621/0.7246, allocations: 283.2 kB / 0.612 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.363e-05/0.7247, allocations: 4.688 kB / 0.612 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.7247, allocations: 0 / 0.612 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.7247, allocations: 11.91 kB / 0.612 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.726, allocations: 0.8083 MB / 0.6128 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.726, allocations: 4 kB / 0.6128 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001905/0.7262, allocations: 37.48 kB / 0.6129 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.947e-06/0.7262, allocations: 7.953 kB / 0.6129 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.7262, allocations: 8 kB / 0.6129 GB, free: 12.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.521e-06/0.7263, allocations: 7.984 kB / 0.6129 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.7263, allocations: 0 / 0.6129 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008621/0.7271, allocations: 0.5104 MB / 0.6134 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001954/0.7273, allocations: 156.6 kB / 0.6135 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.766e-05/0.7274, allocations: 11.95 kB / 0.6135 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003034/0.7277, allocations: 28.59 kB / 0.6136 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.85e-05/0.7278, allocations: 11.98 kB / 0.6136 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-05/0.7278, allocations: 19.98 kB / 0.6136 GB, free: 11.81 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003395/0.7282, allocations: 303.1 kB / 0.6139 GB, free: 11.51 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7282, allocations: 3.938 kB / 0.6139 GB, free: 11.51 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004582/0.7287, allocations: 111.8 kB / 0.614 GB, free: 11.4 MB / 494.1 MB 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.0004225/0.7291, allocations: 147.1 kB / 0.6141 GB, free: 11.26 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005359/0.7296, allocations: 241.2 kB / 0.6144 GB, free: 11.02 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.7297, allocations: 4.375 kB / 0.6144 GB, free: 11.02 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002162/0.7299, allocations: 115.8 kB / 0.6145 GB, free: 10.91 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.731, allocations: 226.7 kB / 0.6147 GB, free: 10.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.7324, allocations: 0.9725 MB / 0.6156 GB, free: 9.688 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004067/0.7328, allocations: 0.8233 MB / 0.6164 GB, free: 8.84 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003378/0.7331, allocations: 85.48 kB / 0.6165 GB, free: 8.758 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.007e-05/0.7332, allocations: 31.44 kB / 0.6166 GB, free: 8.727 MB / 494.1 MB Notification: Performance of SimCode: time 8.32e-07/0.7332, allocations: 4 kB / 0.6166 GB, free: 8.723 MB / 494.1 MB Notification: Performance of Templates: time 0.01416/0.7474, allocations: 7.264 MB / 0.6237 GB, free: 1.578 MB / 494.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: