Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.conf.json 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/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 181.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7597/0.7597, allocations: 133.3 MB / 150.1 MB, free: 11.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 222.9 MB / 404.7 MB, free: 6.117 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 107.5 kB / 485.9 MB, free: 7.234 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001057/0.001057, allocations: 51.92 kB / 0.5636 GB, free: 69.93 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1442, allocations: 80.42 MB / 0.6421 GB, free: 5.441 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.4876/0.6318, allocations: 159.1 MB / 0.7975 GB, free: 2.137 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.005037/0.6369, allocations: 4.542 MB / 0.8019 GB, free: 13.58 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003985/0.6374, allocations: 7.938 kB / 0.802 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0004023/0.6378, allocations: 107.3 kB / 0.8021 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.0007974/0.6386, allocations: 314.6 kB / 0.8024 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007216/0.6394, allocations: 251.4 kB / 0.8026 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0008215/0.6402, allocations: 0.7952 MB / 0.8034 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000291/0.6405, allocations: 169.5 kB / 0.8035 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009143/0.6414, allocations: 422.4 kB / 0.8039 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002599/0.6417, allocations: 203.2 kB / 0.8041 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 3.001e-05/0.6417, allocations: 15.94 kB / 0.8041 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001607/0.6419, allocations: 63.94 kB / 0.8042 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.642, allocations: 91.72 kB / 0.8043 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.6421, allocations: 111.4 kB / 0.8044 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.00031/0.6425, allocations: 283.1 kB / 0.8047 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.6425, allocations: 0 / 0.8047 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of FrontEnd: time 7.31e-07/0.6425, allocations: 0 / 0.8047 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.6425, allocations: 0 / 0.8047 GB, free: 10.79 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0008052/0.6433, allocations: 0.5448 MB / 0.8052 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.6434, allocations: 8.031 kB / 0.8052 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.082e-05/0.6434, allocations: 31.64 kB / 0.8052 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003597/0.6438, allocations: 267.4 kB / 0.8055 GB, free: 9.855 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.6438, allocations: 12.75 kB / 0.8055 GB, free: 9.844 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.515e-05/0.6439, allocations: 24 kB / 0.8055 GB, free: 9.82 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004227/0.6443, allocations: 258.1 kB / 0.8058 GB, free: 9.531 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.6443, allocations: 7.875 kB / 0.8058 GB, free: 9.523 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.6443, allocations: 4 kB / 0.8058 GB, free: 9.52 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.168e-06/0.6443, allocations: 8 kB / 0.8058 GB, free: 9.512 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003086/0.6447, allocations: 155.7 kB / 0.8059 GB, free: 9.359 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001225/0.6459, allocations: 1.371 MB / 0.8073 GB, free: 7.898 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000281/0.6462, allocations: 183.5 kB / 0.8075 GB, free: 7.668 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/0.6464, allocations: 93.11 kB / 0.8075 GB, free: 7.559 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003317/0.6467, allocations: 121 kB / 0.8077 GB, free: 7.422 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.6467, allocations: 42.5 kB / 0.8077 GB, free: 7.371 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=10): time 2.915e-06/0.6468, allocations: 4 kB / 0.8077 GB, free: 7.367 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10): time 0.000598/0.6474, allocations: 205.1 kB / 0.8079 GB, free: 7.16 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.172e-05/0.6474, allocations: 183.9 kB / 0.8081 GB, free: 6.938 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002664/0.6477, allocations: 291.6 kB / 0.8084 GB, free: 6.645 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.6478, allocations: 29.7 kB / 0.8084 GB, free: 6.609 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.6479, allocations: 151.8 kB / 0.8085 GB, free: 6.457 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.6479, allocations: 27.56 kB / 0.8086 GB, free: 6.43 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.763e-05/0.648, allocations: 37.7 kB / 0.8086 GB, free: 6.387 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.6481, allocations: 338.8 kB / 0.8089 GB, free: 6.047 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.6482, allocations: 43.95 kB / 0.809 GB, free: 6.004 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.6484, allocations: 129.6 kB / 0.8091 GB, free: 5.852 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002835/0.6487, allocations: 154.7 kB / 0.8092 GB, free: 5.676 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.6487, allocations: 0 / 0.8092 GB, free: 5.676 MB / 0.5417 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003544/0.6491, allocations: 197.2 kB / 0.8094 GB, free: 5.477 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.6491, allocations: 4 kB / 0.8094 GB, free: 5.473 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/0.6491, allocations: 4 kB / 0.8094 GB, free: 5.469 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.6491, allocations: 0 / 0.8094 GB, free: 5.469 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.6493, allocations: 31.92 kB / 0.8095 GB, free: 5.438 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.6493, allocations: 7.984 kB / 0.8095 GB, free: 5.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.6495, allocations: 27.75 kB / 0.8095 GB, free: 5.402 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.483e-05/0.6495, allocations: 12.11 kB / 0.8095 GB, free: 5.391 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (15): * Single equations (assignments): 15 * 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.0001261/0.6496, allocations: 149.8 kB / 0.8096 GB, free: 5.234 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.6497, allocations: 27.66 kB / 0.8097 GB, free: 5.207 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003128/0.6501, allocations: 123.9 kB / 0.8098 GB, free: 5.078 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.6501, allocations: 3.984 kB / 0.8098 GB, free: 5.074 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.6501, allocations: 7.938 kB / 0.8098 GB, free: 5.07 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.6501, allocations: 0 / 0.8098 GB, free: 5.07 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000762/0.6509, allocations: 0.7807 MB / 0.8106 GB, free: 4.215 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.6509, allocations: 0 / 0.8106 GB, free: 4.215 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.651, allocations: 23.98 kB / 0.8106 GB, free: 4.191 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.216e-05/0.651, allocations: 3.984 kB / 0.8106 GB, free: 4.188 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.651, allocations: 12.16 kB / 0.8106 GB, free: 4.176 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.6511, allocations: 3.938 kB / 0.8106 GB, free: 4.172 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.6511, allocations: 4 kB / 0.8106 GB, free: 4.168 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004095/0.6552, allocations: 1.871 MB / 0.8124 GB, free: 2.145 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.6553, allocations: 108.8 kB / 0.8125 GB, free: 2.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.854e-05/0.6553, allocations: 7.938 kB / 0.8125 GB, free: 2.012 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.6555, allocations: 11.98 kB / 0.8126 GB, free: 2 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.6555, allocations: 16.02 kB / 0.8126 GB, free: 1.984 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.6555, allocations: 4 kB / 0.8126 GB, free: 1.98 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001908/0.6557, allocations: 209.9 kB / 0.8128 GB, free: 1.773 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6557, allocations: 0 / 0.8128 GB, free: 1.773 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004446/0.6562, allocations: 76 kB / 0.8128 GB, free: 1.699 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.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 (10): * Single equations (assignments): 10 * 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.0003077/0.6565, allocations: 149 kB / 0.813 GB, free: 1.555 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003212/0.6568, allocations: 115.8 kB / 0.8131 GB, free: 1.441 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.6569, allocations: 4 kB / 0.8131 GB, free: 1.438 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000146/0.657, allocations: 64.58 kB / 0.8132 GB, free: 1.375 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007338/0.6577, allocations: 129.7 kB / 0.8133 GB, free: 1.25 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008217/0.6586, allocations: 0.6651 MB / 0.8139 GB, free: 0.5273 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.6589, allocations: 0.7599 MB / 0.8147 GB, free: 15.74 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001468/0.6591, allocations: 58.94 kB / 0.8147 GB, free: 15.69 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.775e-05/0.6591, allocations: 19.44 kB / 0.8148 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of SimCode: time 2.9e-07/0.6591, allocations: 0 / 0.8148 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of Templates: time 0.007882/0.667, allocations: 4.137 MB / 0.8188 GB, free: 11.59 MB / 0.5573 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)