Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.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/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/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.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 183 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/package.mo): time 0.694/0.694, allocations: 132.2 MB / 148.9 MB, free: 12.16 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.452/1.452, allocations: 222.9 MB / 403.3 MB, free: 7.113 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.001004/0.001004, allocations: 107.2 kB / 484.3 MB, free: 8.703 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009721/0.0009722, allocations: 55.92 kB / 0.5618 GB, free: 71.05 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1411, allocations: 80.21 MB / 0.6402 GB, free: 6.77 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.4908/0.6319, allocations: 165.3 MB / 0.8016 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.007162/0.6391, allocations: 6.555 MB / 0.808 GB, free: 7.309 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005295/0.6398, allocations: 11.94 kB / 0.808 GB, free: 7.297 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0005264/0.6403, allocations: 139.1 kB / 0.8081 GB, free: 7.16 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.001939/0.6422, allocations: 0.786 MB / 0.8089 GB, free: 6.371 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007995/0.643, allocations: 290.7 kB / 0.8092 GB, free: 6.09 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0009408/0.644, allocations: 1.014 MB / 0.8102 GB, free: 5.074 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003347/0.6443, allocations: 241.8 kB / 0.8104 GB, free: 4.84 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009649/0.6453, allocations: 0.5098 MB / 0.8109 GB, free: 4.328 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003375/0.6457, allocations: 282.9 kB / 0.8112 GB, free: 4.051 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 4.004e-05/0.6457, allocations: 16 kB / 0.8112 GB, free: 4.035 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000643/0.6464, allocations: 399 kB / 0.8116 GB, free: 3.645 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.6465, allocations: 99.64 kB / 0.8116 GB, free: 3.547 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001455/0.6466, allocations: 151.2 kB / 0.8118 GB, free: 3.398 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0005218/0.6472, allocations: 482.4 kB / 0.8123 GB, free: 2.926 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.6472, allocations: 4 kB / 0.8123 GB, free: 2.922 MB / 0.5417 GB Notification: Performance of FrontEnd: time 7.82e-07/0.6472, allocations: 0 / 0.8123 GB, free: 2.922 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.6472, allocations: 0 / 0.8123 GB, free: 2.922 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0007932/0.648, allocations: 0.6194 MB / 0.8129 GB, free: 2.254 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.648, allocations: 15.97 kB / 0.8129 GB, free: 2.238 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002734/0.6483, allocations: 59.44 kB / 0.8129 GB, free: 2.18 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003565/0.6487, allocations: 309.3 kB / 0.8132 GB, free: 1.84 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.6487, allocations: 20.56 kB / 0.8132 GB, free: 1.82 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.447e-05/0.6488, allocations: 24 kB / 0.8133 GB, free: 1.797 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004752/0.6492, allocations: 319.7 kB / 0.8136 GB, free: 1.461 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.6493, allocations: 0 / 0.8136 GB, free: 1.461 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.503e-05/0.6493, allocations: 12 kB / 0.8136 GB, free: 1.449 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.6493, allocations: 7.938 kB / 0.8136 GB, free: 1.441 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004025/0.6497, allocations: 213.4 kB / 0.8138 GB, free: 1.23 MB / 0.5417 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001374/0.6511, allocations: 1.53 MB / 0.8153 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002388/0.6514, allocations: 114.5 kB / 0.8154 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/0.6515, allocations: 89.05 kB / 0.8155 GB, free: 15.36 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006215/0.6522, allocations: 307.2 kB / 0.8158 GB, free: 15 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.6522, allocations: 34.56 kB / 0.8158 GB, free: 14.96 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.6522, allocations: 0 / 0.8158 GB, free: 14.96 MB / 0.5573 GB Notification: Performance of matching and sorting (n=13): time 0.0007172/0.6529, allocations: 278.2 kB / 0.8161 GB, free: 14.68 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.653, allocations: 51.41 kB / 0.8161 GB, free: 14.62 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003115/0.6533, allocations: 312.5 kB / 0.8164 GB, free: 14.3 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.6533, allocations: 29.7 kB / 0.8165 GB, free: 14.27 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.6535, allocations: 188 kB / 0.8166 GB, free: 14.07 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.985e-05/0.6535, allocations: 35.45 kB / 0.8167 GB, free: 14.04 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.888e-05/0.6536, allocations: 45.61 kB / 0.8167 GB, free: 13.99 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.6537, allocations: 338.8 kB / 0.817 GB, free: 13.65 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001461/0.6538, allocations: 55.95 kB / 0.8171 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001858/0.654, allocations: 110.2 kB / 0.8172 GB, free: 13.47 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003108/0.6544, allocations: 188.8 kB / 0.8174 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.6544, allocations: 1.938 kB / 0.8174 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003952/0.6548, allocations: 217.2 kB / 0.8176 GB, free: 13.05 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.6548, allocations: 8 kB / 0.8176 GB, free: 13.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.6548, allocations: 0 / 0.8176 GB, free: 13.04 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.6548, allocations: 4 kB / 0.8176 GB, free: 13.04 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.655, allocations: 31.98 kB / 0.8176 GB, free: 13 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.655, allocations: 4 kB / 0.8176 GB, free: 13 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/0.6552, allocations: 39.81 kB / 0.8177 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.788e-05/0.6553, allocations: 11.94 kB / 0.8177 GB, free: 12.95 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0001342/0.6554, allocations: 151.1 kB / 0.8178 GB, free: 12.79 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.023e-05/0.6555, allocations: 31.62 kB / 0.8179 GB, free: 12.76 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004278/0.6559, allocations: 210 kB / 0.8181 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.6559, allocations: 4 kB / 0.8181 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.6559, allocations: 4.875 kB / 0.8181 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.6559, allocations: 7.969 kB / 0.8181 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009365/0.6569, allocations: 0.6796 MB / 0.8187 GB, free: 11.78 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.6569, allocations: 7.875 kB / 0.8187 GB, free: 11.78 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.657, allocations: 27.92 kB / 0.8188 GB, free: 11.75 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.657, allocations: 4 kB / 0.8188 GB, free: 11.75 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.6571, allocations: 7.938 kB / 0.8188 GB, free: 11.74 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.6571, allocations: 3.984 kB / 0.8188 GB, free: 11.73 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.696e-06/0.6571, allocations: 4 kB / 0.8188 GB, free: 11.73 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007728/0.6578, allocations: 1.003 MB / 0.8198 GB, free: 10.65 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.658, allocations: 120.8 kB / 0.8199 GB, free: 10.51 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.303e-05/0.658, allocations: 4 kB / 0.8199 GB, free: 10.51 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.6582, allocations: 19.89 kB / 0.8199 GB, free: 10.49 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.887e-05/0.6582, allocations: 19.92 kB / 0.8199 GB, free: 10.47 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.6583, allocations: 7.938 kB / 0.8199 GB, free: 10.46 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001901/0.6585, allocations: 227 kB / 0.8201 GB, free: 10.24 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6585, allocations: 0 / 0.8201 GB, free: 10.24 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004448/0.6589, allocations: 71.84 kB / 0.8202 GB, free: 10.17 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.0003361/0.6593, allocations: 151.5 kB / 0.8204 GB, free: 10.02 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003693/0.6596, allocations: 152.1 kB / 0.8205 GB, free: 9.875 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.6596, allocations: 4.062 kB / 0.8205 GB, free: 9.871 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001762/0.6598, allocations: 83.83 kB / 0.8206 GB, free: 9.789 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008231/0.6607, allocations: 147.7 kB / 0.8207 GB, free: 9.648 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009158/0.6616, allocations: 0.7795 MB / 0.8215 GB, free: 8.805 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.6619, allocations: 0.7914 MB / 0.8223 GB, free: 7.984 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000188/0.6621, allocations: 62.31 kB / 0.8223 GB, free: 7.93 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.388e-05/0.6622, allocations: 23.44 kB / 0.8223 GB, free: 7.906 MB / 0.5573 GB Notification: Performance of SimCode: time 2.7e-07/0.6622, allocations: 0 / 0.8223 GB, free: 7.906 MB / 0.5573 GB Notification: Performance of Templates: time 0.008683/0.6709, allocations: 4.98 MB / 0.8272 GB, free: 2.996 MB / 0.5573 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)