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.001521/0.001521, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002004/0.002004, allocations: 195.6 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.427/1.427, allocations: 205.1 MB / 222.1 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4155/0.4155, allocations: 54.92 MB / 324.4 MB, free: 0 / 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.001547/0.001547, allocations: 67.91 kB / 394.8 MB, free: 12.17 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1449, allocations: 59.6 MB / 454.4 MB, free: 0.5039 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.4367/0.5817, allocations: 165.3 MB / 0.6052 GB, free: 2.59 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.007662/0.5894, allocations: 6.466 MB / 0.6115 GB, free: 12.11 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005538/0.59, allocations: 7.938 kB / 0.6115 GB, free: 12.1 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008522/0.591, allocations: 222.8 kB / 0.6117 GB, free: 11.88 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001807/0.5928, allocations: 0.7002 MB / 0.6124 GB, free: 11.18 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.5939, allocations: 376 kB / 0.6127 GB, free: 10.82 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001226/0.5951, allocations: 1.089 MB / 0.6138 GB, free: 9.727 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005612/0.5957, allocations: 358.9 kB / 0.6141 GB, free: 9.367 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001705/0.5974, allocations: 0.7551 MB / 0.6149 GB, free: 8.609 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004714/0.5979, allocations: 406.6 kB / 0.6153 GB, free: 8.211 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.81e-05/0.598, allocations: 48 kB / 0.6153 GB, free: 8.164 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002943/0.5983, allocations: 115.9 kB / 0.6154 GB, free: 8.051 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001869/0.5985, allocations: 195.4 kB / 0.6156 GB, free: 7.859 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002479/0.5987, allocations: 258.9 kB / 0.6159 GB, free: 7.605 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007222/0.5995, allocations: 0.6387 MB / 0.6165 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.5995, allocations: 0.8438 kB / 0.6165 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.5995, allocations: 0 / 0.6165 GB, free: 6.965 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.5995, allocations: 0 / 0.6165 GB, free: 6.965 MB / 494.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.001292/0.6008, allocations: 0.7533 MB / 0.6172 GB, free: 6.168 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.6008, allocations: 8.031 kB / 0.6172 GB, free: 6.16 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002766/0.6011, allocations: 59.42 kB / 0.6173 GB, free: 6.102 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005766/0.6017, allocations: 362 kB / 0.6176 GB, free: 5.707 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.582e-05/0.6018, allocations: 36.98 kB / 0.6177 GB, free: 5.672 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.28e-05/0.6018, allocations: 40 kB / 0.6177 GB, free: 5.633 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007882/0.6026, allocations: 407.8 kB / 0.6181 GB, free: 5.23 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.6027, allocations: 0 / 0.6181 GB, free: 5.23 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.83e-05/0.6027, allocations: 16 kB / 0.6181 GB, free: 5.215 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.6027, allocations: 11.98 kB / 0.6181 GB, free: 5.203 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006372/0.6034, allocations: 331.8 kB / 0.6184 GB, free: 4.879 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002416/0.6058, allocations: 1.422 MB / 0.6198 GB, free: 3.344 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005614/0.6064, allocations: 182.7 kB / 0.62 GB, free: 3.156 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002513/0.6066, allocations: 108.8 kB / 0.6201 GB, free: 3.047 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003899/0.607, allocations: 125 kB / 0.6202 GB, free: 2.906 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.6071, allocations: 30.56 kB / 0.6202 GB, free: 2.867 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.753e-06/0.6071, allocations: 0 / 0.6202 GB, free: 2.867 MB / 494.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007933/0.6079, allocations: 329.3 kB / 0.6206 GB, free: 2.539 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.705e-05/0.608, allocations: 51.41 kB / 0.6206 GB, free: 2.477 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000551/0.6085, allocations: 433.5 kB / 0.621 GB, free: 2.047 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.201e-05/0.6086, allocations: 30.92 kB / 0.621 GB, free: 2.012 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002146/0.6088, allocations: 219.9 kB / 0.6213 GB, free: 1.793 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.27e-05/0.6089, allocations: 63.02 kB / 0.6213 GB, free: 1.73 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.609, allocations: 52.2 kB / 0.6214 GB, free: 1.676 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.00021/0.6092, allocations: 350.7 kB / 0.6217 GB, free: 1.324 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001999/0.6094, allocations: 103.9 kB / 0.6218 GB, free: 1.223 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002353/0.6096, allocations: 145.9 kB / 0.6219 GB, free: 1.059 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004185/0.6101, allocations: 252.5 kB / 0.6222 GB, free: 0.793 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.6101, allocations: 4 kB / 0.6222 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005598/0.6106, allocations: 329.6 kB / 0.6225 GB, free: 476 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.6107, allocations: 4 kB / 0.6225 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.6107, allocations: 4.625 kB / 0.6225 GB, free: 468 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.6107, allocations: 0 / 0.6225 GB, free: 468 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/0.6109, allocations: 56.94 kB / 0.6226 GB, free: 412 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.611, allocations: 4 kB / 0.6226 GB, free: 408 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002707/0.6112, allocations: 59.62 kB / 0.6226 GB, free: 348 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.6113, allocations: 15.94 kB / 0.6226 GB, free: 332 kB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001745/0.6114, allocations: 165.8 kB / 0.6228 GB, free: 156 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.362e-05/0.6115, allocations: 39.53 kB / 0.6228 GB, free: 116 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005388/0.6121, allocations: 278.7 kB / 0.6231 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.168e-05/0.6121, allocations: 4 kB / 0.6231 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.6121, allocations: 0 / 0.6231 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.6121, allocations: 7.922 kB / 0.6231 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/0.6132, allocations: 0.7891 MB / 0.6239 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.6132, allocations: 1.844 kB / 0.6239 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001796/0.6134, allocations: 39.92 kB / 0.6239 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.6134, allocations: 0 / 0.6239 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/0.6134, allocations: 11.98 kB / 0.6239 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.6134, allocations: 4 kB / 0.6239 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.6134, allocations: 0 / 0.6239 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007603/0.6142, allocations: 0.5046 MB / 0.6244 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001909/0.6144, allocations: 161.6 kB / 0.6246 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.543e-05/0.6145, allocations: 3.984 kB / 0.6246 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003233/0.6148, allocations: 25.02 kB / 0.6246 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.848e-05/0.6149, allocations: 19.97 kB / 0.6246 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.353e-05/0.6149, allocations: 11.98 kB / 0.6246 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003319/0.6153, allocations: 307.1 kB / 0.6249 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6153, allocations: 4 kB / 0.6249 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004893/0.6158, allocations: 111.8 kB / 0.625 GB, free: 13.72 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004186/0.6162, allocations: 152.6 kB / 0.6252 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004885/0.6167, allocations: 244 kB / 0.6254 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.6167, allocations: 0 / 0.6254 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002029/0.6169, allocations: 108.5 kB / 0.6255 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/0.6181, allocations: 228.8 kB / 0.6257 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/0.6196, allocations: 0.9572 MB / 0.6267 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004366/0.62, allocations: 0.8152 MB / 0.6275 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003636/0.6204, allocations: 86.42 kB / 0.6276 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.045e-05/0.6205, allocations: 35.44 kB / 0.6276 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of SimCode: time 3.81e-07/0.6205, allocations: 7.938 kB / 0.6276 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of Templates: time 0.01483/0.6353, allocations: 7.833 MB / 0.6352 GB, free: 3.375 MB / 0.4981 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)