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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008745/0.0008746, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005635/0.005635, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.52/1.52, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7461/0.7461, allocations: 132.3 MB / 423.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003647/0.0003646, allocations: 12 kB / 0.504 GB, free: 3.906 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5352/0.5356, allocations: 81.58 MB / 0.5837 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.2002/0.7358, allocations: 163.1 MB / 0.743 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009571/0.7455, allocations: 6.467 MB / 0.7493 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006555/0.7462, allocations: 11.94 kB / 0.7493 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007137/0.7469, allocations: 127.1 kB / 0.7494 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002613/0.7495, allocations: 0.786 MB / 0.7502 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001048/0.7506, allocations: 298.9 kB / 0.7505 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001362/0.752, allocations: 1.014 MB / 0.7515 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005297/0.7525, allocations: 229.9 kB / 0.7517 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001561/0.7541, allocations: 0.5136 MB / 0.7522 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005653/0.7547, allocations: 274.8 kB / 0.7525 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.435e-05/0.7548, allocations: 16 kB / 0.7525 GB, free: 3 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009217/0.7557, allocations: 387 kB / 0.7528 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000179/0.7559, allocations: 99.69 kB / 0.7529 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002559/0.7561, allocations: 176.9 kB / 0.7531 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00085/0.757, allocations: 474.4 kB / 0.7536 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.757, allocations: 0 / 0.7536 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.864e-06/0.757, allocations: 0 / 0.7536 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.597e-05/0.7571, allocations: 0 / 0.7536 GB, free: 1.879 MB / 0.5762 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.001024/0.7581, allocations: 0.5688 MB / 0.7541 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.7581, allocations: 8.031 kB / 0.7541 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004634/0.7586, allocations: 67.44 kB / 0.7542 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005115/0.7591, allocations: 305.3 kB / 0.7545 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.844e-05/0.7592, allocations: 24.56 kB / 0.7545 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.115e-05/0.7592, allocations: 24 kB / 0.7545 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006826/0.7599, allocations: 323.7 kB / 0.7548 GB, free: 476 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.7599, allocations: 4 kB / 0.7548 GB, free: 472 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.711e-05/0.76, allocations: 8 kB / 0.7548 GB, free: 464 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/0.76, allocations: 11.94 kB / 0.7548 GB, free: 452 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004969/0.7605, allocations: 213.5 kB / 0.7551 GB, free: 232 kB / 0.5762 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.001681/0.7622, allocations: 1.546 MB / 0.7566 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002683/0.7625, allocations: 118.5 kB / 0.7567 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001972/0.7627, allocations: 100.8 kB / 0.7568 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007259/0.7634, allocations: 315.2 kB / 0.7571 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.7634, allocations: 30.56 kB / 0.7571 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 1.994e-06/0.7635, allocations: 0 / 0.7571 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.000845/0.7643, allocations: 291.9 kB / 0.7574 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.7644, allocations: 55.41 kB / 0.7574 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003371/0.7647, allocations: 308.5 kB / 0.7577 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.7648, allocations: 29.7 kB / 0.7578 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.7649, allocations: 184.1 kB / 0.7579 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.245e-05/0.765, allocations: 47.39 kB / 0.758 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-05/0.765, allocations: 21.7 kB / 0.758 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.7652, allocations: 342.8 kB / 0.7583 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.7653, allocations: 59.95 kB / 0.7584 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/0.7655, allocations: 126.4 kB / 0.7585 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003438/0.7659, allocations: 181 kB / 0.7587 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.7659, allocations: 0 / 0.7587 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004722/0.7664, allocations: 229 kB / 0.7589 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.076e-05/0.7664, allocations: 11.92 kB / 0.7589 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.7664, allocations: 3.938 kB / 0.7589 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.7665, allocations: 4 kB / 0.7589 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.7667, allocations: 35.98 kB / 0.7589 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.7667, allocations: 7.938 kB / 0.759 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002198/0.7669, allocations: 39.83 kB / 0.759 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.265e-05/0.7669, allocations: 11.98 kB / 0.759 GB, free: 11.88 MB / 0.5919 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.0001541/0.7671, allocations: 149.8 kB / 0.7591 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.47e-05/0.7672, allocations: 23.72 kB / 0.7592 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004906/0.7677, allocations: 220.5 kB / 0.7594 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.7677, allocations: 4 kB / 0.7594 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.7677, allocations: 0 / 0.7594 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.7677, allocations: 8.016 kB / 0.7594 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.7688, allocations: 0.6991 MB / 0.7601 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.7688, allocations: 4.062 kB / 0.7601 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001341/0.769, allocations: 31.92 kB / 0.7601 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.223e-06/0.769, allocations: 7.938 kB / 0.7601 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.769, allocations: 4 kB / 0.7601 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.769, allocations: 0 / 0.7601 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.769, allocations: 4 kB / 0.7601 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004789/0.7695, allocations: 349.3 kB / 0.7605 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.7696, allocations: 124.7 kB / 0.7606 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.704e-05/0.7697, allocations: 0 / 0.7606 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/0.7699, allocations: 27.91 kB / 0.7606 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.042e-05/0.7699, allocations: 12 kB / 0.7606 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.7699, allocations: 7.984 kB / 0.7606 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002954/0.7702, allocations: 223.1 kB / 0.7608 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7703, allocations: 0 / 0.7608 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004101/0.7707, allocations: 63.91 kB / 0.7609 GB, free: 9.793 MB / 0.5919 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.0004796/0.7712, allocations: 163.3 kB / 0.761 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004586/0.7716, allocations: 174.8 kB / 0.7612 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.7716, allocations: 0 / 0.7612 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001962/0.7718, allocations: 84.62 kB / 0.7613 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009612/0.7728, allocations: 148.9 kB / 0.7614 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.7738, allocations: 0.6572 MB / 0.7621 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004366/0.7743, allocations: 0.7875 MB / 0.7628 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002281/0.7746, allocations: 59.06 kB / 0.7629 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.201e-05/0.7746, allocations: 23.44 kB / 0.7629 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of SimCode: time 3.81e-07/0.7746, allocations: 0 / 0.7629 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of Templates: time 0.01071/0.7854, allocations: 4.83 MB / 0.7676 GB, free: 2.895 MB / 0.5919 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)