Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 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(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.000982/0.000982, allocations: 107.9 kB / 16.38 MB, free: 6.438 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.0009606/0.0009607, allocations: 192.9 kB / 17.32 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.221/1.221, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7669/0.7669, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 63.72 kB / 0.5862 GB, free: 21.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1377, allocations: 80.93 MB / 0.6653 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.4904/0.6281, allocations: 167.5 MB / 0.8289 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00655/0.6347, allocations: 6.54 MB / 0.8353 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004515/0.6352, allocations: 17.69 kB / 0.8353 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004944/0.6357, allocations: 168.6 kB / 0.8354 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001862/0.6376, allocations: 0.8391 MB / 0.8363 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008037/0.6384, allocations: 333.4 kB / 0.8366 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006607/0.6391, allocations: 0.7203 MB / 0.8373 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003744/0.6395, allocations: 274.5 kB / 0.8375 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009309/0.6404, allocations: 0.554 MB / 0.8381 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000306/0.6407, allocations: 271 kB / 0.8383 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.303e-05/0.6408, allocations: 20.12 kB / 0.8384 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005468/0.6413, allocations: 339.8 kB / 0.8387 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.6414, allocations: 115 kB / 0.8388 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001411/0.6416, allocations: 156.6 kB / 0.8389 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005209/0.6421, allocations: 478 kB / 0.8394 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.6421, allocations: 3.938 kB / 0.8394 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.675e-06/0.6421, allocations: 3.984 kB / 0.8394 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.168e-06/0.6421, allocations: 0 / 0.8394 GB, free: 7.734 MB / 0.6075 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.0007581/0.6429, allocations: 0.6064 MB / 0.84 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.6429, allocations: 10.61 kB / 0.84 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003043/0.6433, allocations: 74.05 kB / 0.8401 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004223/0.6437, allocations: 316.7 kB / 0.8404 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.6437, allocations: 22.69 kB / 0.8404 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.613e-05/0.6438, allocations: 29.44 kB / 0.8404 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004725/0.6442, allocations: 314.1 kB / 0.8407 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.6443, allocations: 3.938 kB / 0.8407 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.413e-05/0.6443, allocations: 12.69 kB / 0.8407 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.6443, allocations: 5.281 kB / 0.8407 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003688/0.6447, allocations: 205.2 kB / 0.8409 GB, free: 6.496 MB / 0.6075 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.001337/0.646, allocations: 1.536 MB / 0.8424 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002418/0.6463, allocations: 120.4 kB / 0.8426 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/0.6464, allocations: 85.78 kB / 0.8426 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005172/0.647, allocations: 304.7 kB / 0.8429 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.647, allocations: 38.75 kB / 0.843 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.647, allocations: 0 / 0.843 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0007048/0.6477, allocations: 270 kB / 0.8432 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.6478, allocations: 57.12 kB / 0.8433 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000258/0.648, allocations: 310.3 kB / 0.8436 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.6481, allocations: 33.7 kB / 0.8436 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.6482, allocations: 181.9 kB / 0.8438 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/0.6482, allocations: 44.17 kB / 0.8438 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.706e-05/0.6483, allocations: 32.72 kB / 0.8439 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.6484, allocations: 346.5 kB / 0.8442 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.6485, allocations: 57.86 kB / 0.8442 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001698/0.6487, allocations: 118.2 kB / 0.8444 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002921/0.649, allocations: 177.4 kB / 0.8445 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.649, allocations: 0 / 0.8445 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003779/0.6494, allocations: 216 kB / 0.8447 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.6494, allocations: 10.78 kB / 0.8447 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.6494, allocations: 3.031 kB / 0.8447 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.6495, allocations: 4.141 kB / 0.8447 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.6496, allocations: 37.3 kB / 0.8448 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.6496, allocations: 2.25 kB / 0.8448 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001585/0.6498, allocations: 31.11 kB / 0.8448 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.671e-05/0.6498, allocations: 6.875 kB / 0.8448 GB, free: 3.152 MB / 0.6075 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.0001216/0.65, allocations: 147.6 kB / 0.845 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.631e-05/0.65, allocations: 28.25 kB / 0.845 GB, free: 3 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003988/0.6504, allocations: 216.2 kB / 0.8452 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.6504, allocations: 1.812 kB / 0.8452 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.6504, allocations: 3.312 kB / 0.8452 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.6504, allocations: 0 / 0.8452 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008743/0.6513, allocations: 0.6837 MB / 0.8459 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.6513, allocations: 2.5 kB / 0.8459 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/0.6515, allocations: 28.36 kB / 0.8459 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.6515, allocations: 4.656 kB / 0.8459 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.6515, allocations: 10.72 kB / 0.8459 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.6515, allocations: 7.203 kB / 0.8459 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6515, allocations: 4 kB / 0.8459 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003876/0.6519, allocations: 330.9 kB / 0.8462 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.741e-05/0.652, allocations: 119.7 kB / 0.8464 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.548e-05/0.652, allocations: 12.69 kB / 0.8464 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.6522, allocations: 5.344 kB / 0.8464 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.974e-05/0.6522, allocations: 16.95 kB / 0.8464 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.6523, allocations: 13.12 kB / 0.8464 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001831/0.6525, allocations: 224.1 kB / 0.8466 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6525, allocations: 2.344 kB / 0.8466 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003434/0.6528, allocations: 73.5 kB / 0.8467 GB, free: 1.684 MB / 0.6075 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.0003368/0.6532, allocations: 170 kB / 0.8468 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003742/0.6535, allocations: 155.7 kB / 0.847 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.6535, allocations: 0 / 0.847 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001659/0.6537, allocations: 91.44 kB / 0.8471 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007422/0.6545, allocations: 149 kB / 0.8472 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000787/0.6553, allocations: 0.5551 MB / 0.8478 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/0.6556, allocations: 0.7798 MB / 0.8485 GB, free: 208 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.141e-05/0.6556, allocations: 29.78 kB / 0.8486 GB, free: 196 kB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.6556, allocations: 0 / 0.8486 GB, free: 196 kB / 0.6075 GB Notification: Performance of Templates: time 0.006174/0.6618, allocations: 4.534 MB / 0.853 GB, free: 13.88 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)