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.001181/0.001181, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001216/0.001217, allocations: 199.5 kB / 16.79 MB, free: 6.809 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.337/1.337, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9784/0.9784, allocations: 135.1 MB / 425.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 59.19 kB / 0.5053 GB, free: 5.793 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.166, allocations: 80.93 MB / 0.5843 GB, free: 5.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.4983/0.6643, allocations: 165.3 MB / 0.7457 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007625/0.672, allocations: 6.551 MB / 0.7521 GB, free: 132 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000552/0.6726, allocations: 11.72 kB / 0.7521 GB, free: 128 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005951/0.6732, allocations: 140.5 kB / 0.7523 GB, free: 4 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002159/0.6754, allocations: 0.7877 MB / 0.753 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009053/0.6763, allocations: 289.3 kB / 0.7533 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001004/0.6774, allocations: 1.018 MB / 0.7543 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003662/0.6777, allocations: 232.3 kB / 0.7545 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001117/0.6789, allocations: 0.5218 MB / 0.755 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003795/0.6793, allocations: 280.3 kB / 0.7553 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.802e-05/0.6793, allocations: 16.31 kB / 0.7553 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007821/0.6801, allocations: 395.3 kB / 0.7557 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.6802, allocations: 97.83 kB / 0.7558 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001548/0.6804, allocations: 157.1 kB / 0.756 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004029/0.6808, allocations: 335.6 kB / 0.7563 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.6808, allocations: 0 / 0.7563 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6808, allocations: 0 / 0.7563 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.6808, allocations: 0 / 0.7563 GB, free: 13.46 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.0008955/0.6817, allocations: 0.6199 MB / 0.7569 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.6818, allocations: 8.031 kB / 0.7569 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000315/0.6821, allocations: 67.42 kB / 0.757 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003953/0.6825, allocations: 309.3 kB / 0.7572 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.6825, allocations: 20.56 kB / 0.7573 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.382e-05/0.6826, allocations: 24 kB / 0.7573 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005329/0.6831, allocations: 316.2 kB / 0.7576 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.6831, allocations: 4 kB / 0.7576 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.449e-05/0.6832, allocations: 12 kB / 0.7576 GB, free: 12 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.6832, allocations: 8 kB / 0.7576 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00043/0.6836, allocations: 209.4 kB / 0.7578 GB, free: 11.79 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.001579/0.6852, allocations: 1.527 MB / 0.7593 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002847/0.6855, allocations: 118.5 kB / 0.7594 GB, free: 10 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001914/0.6857, allocations: 91.19 kB / 0.7595 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007197/0.6864, allocations: 303.2 kB / 0.7598 GB, free: 9.559 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.6865, allocations: 34.56 kB / 0.7598 GB, free: 9.516 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.6865, allocations: 0 / 0.7598 GB, free: 9.516 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0007696/0.6872, allocations: 277.4 kB / 0.7601 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.6873, allocations: 55.41 kB / 0.7601 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003238/0.6876, allocations: 312.5 kB / 0.7604 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.6877, allocations: 29.7 kB / 0.7605 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.6878, allocations: 184.1 kB / 0.7606 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.716e-05/0.6879, allocations: 39.45 kB / 0.7607 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.896e-05/0.6879, allocations: 41.61 kB / 0.7607 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.6881, allocations: 334.8 kB / 0.761 GB, free: 8.219 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.6882, allocations: 59.95 kB / 0.7611 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000195/0.6884, allocations: 113.1 kB / 0.7612 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003299/0.6888, allocations: 186.1 kB / 0.7614 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.6888, allocations: 0 / 0.7614 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004239/0.6892, allocations: 213.8 kB / 0.7616 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.6892, allocations: 7.938 kB / 0.7616 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.485e-06/0.6893, allocations: 4 kB / 0.7616 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.6893, allocations: 160 / 0.7616 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/0.6895, allocations: 35.98 kB / 0.7616 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.6895, allocations: 3.938 kB / 0.7616 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001995/0.6897, allocations: 39.67 kB / 0.7617 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.79e-05/0.6897, allocations: 7.984 kB / 0.7617 GB, free: 7.52 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.0001485/0.6899, allocations: 149.8 kB / 0.7618 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.27e-05/0.6899, allocations: 35.62 kB / 0.7619 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004511/0.6904, allocations: 209 kB / 0.7621 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.6904, allocations: 3.984 kB / 0.7621 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.6904, allocations: 4 kB / 0.7621 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.6904, allocations: 3.938 kB / 0.7621 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.6915, allocations: 0.6828 MB / 0.7627 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.6915, allocations: 0 / 0.7627 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000135/0.6916, allocations: 35.97 kB / 0.7628 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.481e-06/0.6916, allocations: 4.203 kB / 0.7628 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.6916, allocations: 11.94 kB / 0.7628 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.6917, allocations: 4 kB / 0.7628 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.6917, allocations: 3.281 kB / 0.7628 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004403/0.6921, allocations: 337 kB / 0.7631 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.6922, allocations: 112.8 kB / 0.7632 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.116e-05/0.6923, allocations: 7.938 kB / 0.7632 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.6925, allocations: 23.97 kB / 0.7633 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.055e-05/0.6925, allocations: 11.98 kB / 0.7633 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.6925, allocations: 8 kB / 0.7633 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002026/0.6927, allocations: 219.1 kB / 0.7635 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6928, allocations: 0 / 0.7635 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003802/0.6931, allocations: 79.83 kB / 0.7636 GB, free: 5.461 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.0003821/0.6935, allocations: 162.7 kB / 0.7637 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003991/0.6939, allocations: 151.8 kB / 0.7639 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.6939, allocations: 0 / 0.7639 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001762/0.6941, allocations: 83.88 kB / 0.7639 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008204/0.695, allocations: 149.2 kB / 0.7641 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009318/0.6959, allocations: 0.6725 MB / 0.7647 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.6962, allocations: 0.7798 MB / 0.7655 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.146e-05/0.6963, allocations: 23.44 kB / 0.7655 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/0.6963, allocations: 0 / 0.7655 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of Templates: time 0.007473/0.7038, allocations: 4.545 MB / 0.77 GB, free: 14.92 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)