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.001018/0.001018, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001122/0.001122, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.482/1.482, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.043/1.043, allocations: 135.1 MB / 425.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 60.28 kB / 0.5047 GB, free: 5.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1983, allocations: 80.92 MB / 0.5837 GB, free: 5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5492/0.7476, allocations: 165.3 MB / 0.7451 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008362/0.756, allocations: 6.553 MB / 0.7515 GB, free: 52 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005963/0.7567, allocations: 11.38 kB / 0.7515 GB, free: 48 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006347/0.7573, allocations: 138.9 kB / 0.7516 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002277/0.7596, allocations: 0.7902 MB / 0.7524 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009529/0.7606, allocations: 293.2 kB / 0.7527 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001167/0.7618, allocations: 1.006 MB / 0.7537 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004716/0.7623, allocations: 241.8 kB / 0.7539 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001333/0.7636, allocations: 0.5116 MB / 0.7544 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005469/0.7642, allocations: 280.6 kB / 0.7547 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.808e-05/0.7643, allocations: 15.78 kB / 0.7547 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008947/0.7652, allocations: 391.8 kB / 0.7551 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000159/0.7653, allocations: 101.6 kB / 0.7552 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002507/0.7656, allocations: 155.7 kB / 0.7553 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007346/0.7663, allocations: 481.6 kB / 0.7558 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.7663, allocations: 4 kB / 0.7558 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7664, allocations: 3.938 kB / 0.7558 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.249e-05/0.7664, allocations: 0 / 0.7558 GB, free: 13.27 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.000955/0.7673, allocations: 0.6115 MB / 0.7564 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.7674, allocations: 12.03 kB / 0.7564 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003148/0.7677, allocations: 65.94 kB / 0.7565 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003759/0.7681, allocations: 313.2 kB / 0.7567 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.7681, allocations: 20.56 kB / 0.7568 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.54e-05/0.7682, allocations: 28 kB / 0.7568 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005586/0.7687, allocations: 315.7 kB / 0.7571 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.7688, allocations: 3.984 kB / 0.7571 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.596e-05/0.7688, allocations: 12 kB / 0.7571 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.7688, allocations: 8 kB / 0.7571 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004173/0.7692, allocations: 205.5 kB / 0.7573 GB, free: 11.59 MB / 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.001527/0.7708, allocations: 1.527 MB / 0.7588 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002531/0.771, allocations: 122.5 kB / 0.7589 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/0.7712, allocations: 96.73 kB / 0.759 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006496/0.7719, allocations: 299.2 kB / 0.7593 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.7719, allocations: 34.56 kB / 0.7593 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.7719, allocations: 0 / 0.7593 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0007909/0.7727, allocations: 273.2 kB / 0.7596 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.7728, allocations: 51.41 kB / 0.7596 GB, free: 8.977 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003315/0.7731, allocations: 316.5 kB / 0.7599 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.7731, allocations: 25.7 kB / 0.76 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.7733, allocations: 180.1 kB / 0.7601 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.175e-05/0.7733, allocations: 51.44 kB / 0.7602 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.271e-05/0.7734, allocations: 37.61 kB / 0.7602 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.7736, allocations: 338.8 kB / 0.7606 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001601/0.7737, allocations: 59.89 kB / 0.7606 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001895/0.7739, allocations: 117 kB / 0.7607 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003489/0.7743, allocations: 181.2 kB / 0.7609 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.7743, allocations: 8 kB / 0.7609 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004737/0.7748, allocations: 209.2 kB / 0.7611 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.7748, allocations: 10.5 kB / 0.7611 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.7748, allocations: 0 / 0.7611 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.7749, allocations: 4 kB / 0.7611 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/0.775, allocations: 34.61 kB / 0.7611 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.7751, allocations: 4.156 kB / 0.7611 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002455/0.7753, allocations: 43.66 kB / 0.7612 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.435e-05/0.7754, allocations: 8 kB / 0.7612 GB, free: 7.316 MB / 0.5762 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.0001758/0.7755, allocations: 153.7 kB / 0.7613 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.146e-05/0.7756, allocations: 31.62 kB / 0.7614 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004606/0.7761, allocations: 208.6 kB / 0.7616 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.7761, allocations: 4 kB / 0.7616 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.7761, allocations: 0 / 0.7616 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.7761, allocations: 0 / 0.7616 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.7772, allocations: 0.6757 MB / 0.7622 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.7772, allocations: 7.938 kB / 0.7622 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001378/0.7774, allocations: 31.92 kB / 0.7623 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.633e-06/0.7774, allocations: 4 kB / 0.7623 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.7774, allocations: 11.06 kB / 0.7623 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.7774, allocations: 224 / 0.7623 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.7774, allocations: 11.98 kB / 0.7623 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004374/0.7779, allocations: 333 kB / 0.7626 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001358/0.778, allocations: 112.8 kB / 0.7627 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.296e-05/0.7781, allocations: 11.94 kB / 0.7627 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001787/0.7782, allocations: 11.98 kB / 0.7628 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.938e-05/0.7783, allocations: 23.92 kB / 0.7628 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.7783, allocations: 4 kB / 0.7628 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002406/0.7786, allocations: 227 kB / 0.763 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7786, allocations: 0 / 0.763 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003863/0.779, allocations: 71.84 kB / 0.7631 GB, free: 5.262 MB / 0.5762 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.0004404/0.7794, allocations: 158.1 kB / 0.7632 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004084/0.7798, allocations: 159.6 kB / 0.7634 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.7798, allocations: 4.312 kB / 0.7634 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001857/0.78, allocations: 83.83 kB / 0.7634 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008963/0.7809, allocations: 143 kB / 0.7636 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.782, allocations: 0.6357 MB / 0.7642 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.7824, allocations: 0.7798 MB / 0.765 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002489/0.7826, allocations: 62.91 kB / 0.765 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.989e-05/0.7827, allocations: 27.44 kB / 0.7651 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of SimCode: time 2.11e-07/0.7827, allocations: 0 / 0.7651 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of Templates: time 0.01023/0.793, allocations: 4.86 MB / 0.7698 GB, free: 14.4 MB / 0.5919 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)