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.0008362/0.0008363, 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.005858/0.005858, 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.417/1.417, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9946/0.9946, allocations: 135.3 MB / 426.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003508/0.0003509, allocations: 19.92 kB / 0.5076 GB, free: 4.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1877, allocations: 82.3 MB / 0.588 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.524/0.7118, allocations: 163.1 MB / 0.7473 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007745/0.7196, allocations: 6.463 MB / 0.7536 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004263/0.72, allocations: 12.59 kB / 0.7536 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004875/0.7205, allocations: 139.1 kB / 0.7537 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001932/0.7225, allocations: 0.7883 MB / 0.7545 GB, free: 328 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008333/0.7233, allocations: 293.4 kB / 0.7548 GB, free: 120 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009419/0.7243, allocations: 1.016 MB / 0.7558 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003566/0.7246, allocations: 227.3 kB / 0.756 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001029/0.7257, allocations: 0.5015 MB / 0.7565 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003763/0.726, allocations: 278.7 kB / 0.7567 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.269e-05/0.7261, allocations: 13.16 kB / 0.7567 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00067/0.7268, allocations: 393.7 kB / 0.7571 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.7269, allocations: 97.17 kB / 0.7572 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001711/0.7271, allocations: 175.6 kB / 0.7574 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005684/0.7277, allocations: 472.4 kB / 0.7578 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.7277, allocations: 0 / 0.7578 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.634e-06/0.7277, allocations: 3.938 kB / 0.7578 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.7277, allocations: 0 / 0.7578 GB, free: 14.28 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.0008198/0.7285, allocations: 0.5629 MB / 0.7584 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.7286, allocations: 7.75 kB / 0.7584 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003218/0.7289, allocations: 67.72 kB / 0.7585 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003942/0.7293, allocations: 302.5 kB / 0.7587 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/0.7293, allocations: 21.34 kB / 0.7588 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.061e-05/0.7294, allocations: 23.16 kB / 0.7588 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005435/0.7299, allocations: 327.5 kB / 0.7591 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.73, allocations: 0 / 0.7591 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.516e-05/0.73, allocations: 11.41 kB / 0.7591 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.73, allocations: 7.125 kB / 0.7591 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004326/0.7304, allocations: 224.4 kB / 0.7593 GB, free: 13.09 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.001593/0.732, allocations: 1.538 MB / 0.7608 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000252/0.7323, allocations: 122.5 kB / 0.761 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001849/0.7325, allocations: 97.05 kB / 0.761 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006285/0.7331, allocations: 315.2 kB / 0.7613 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.7332, allocations: 38.56 kB / 0.7614 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.313e-06/0.7332, allocations: 0 / 0.7614 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0007721/0.734, allocations: 293.1 kB / 0.7617 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.734, allocations: 51.41 kB / 0.7617 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003291/0.7343, allocations: 320.4 kB / 0.762 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.7344, allocations: 29.7 kB / 0.762 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.7345, allocations: 184 kB / 0.7622 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.421e-05/0.7346, allocations: 39.45 kB / 0.7623 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.202e-05/0.7346, allocations: 17.72 kB / 0.7623 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.7348, allocations: 342.8 kB / 0.7626 GB, free: 9.477 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/0.7349, allocations: 63.95 kB / 0.7627 GB, free: 9.414 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.7351, allocations: 122.8 kB / 0.7628 GB, free: 9.277 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003567/0.7355, allocations: 193.6 kB / 0.763 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.7355, allocations: 0 / 0.763 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004482/0.736, allocations: 229.8 kB / 0.7632 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.736, allocations: 4 kB / 0.7632 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.736, allocations: 4 kB / 0.7632 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.736, allocations: 160 / 0.7632 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001757/0.7362, allocations: 35.98 kB / 0.7632 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.7362, allocations: 7.984 kB / 0.7632 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.7364, allocations: 41.31 kB / 0.7633 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.772e-05/0.7365, allocations: 8 kB / 0.7633 GB, free: 8.742 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.000134/0.7366, allocations: 153.7 kB / 0.7634 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.808e-05/0.7367, allocations: 23.72 kB / 0.7635 GB, free: 8.559 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004758/0.7371, allocations: 225.5 kB / 0.7637 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.7372, allocations: 0 / 0.7637 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.7372, allocations: 0 / 0.7637 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.7372, allocations: 4 kB / 0.7637 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.7382, allocations: 0.6951 MB / 0.7643 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.7383, allocations: 4.875 kB / 0.7644 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/0.7384, allocations: 27.98 kB / 0.7644 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.7384, allocations: 7.922 kB / 0.7644 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.7384, allocations: 11.94 kB / 0.7644 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.7384, allocations: 8.219 kB / 0.7644 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.7384, allocations: 0 / 0.7644 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004902/0.7389, allocations: 342.4 kB / 0.7647 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.7391, allocations: 120.7 kB / 0.7648 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.872e-05/0.7391, allocations: 11.94 kB / 0.7649 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.7393, allocations: 19.98 kB / 0.7649 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.823e-05/0.7393, allocations: 11.98 kB / 0.7649 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.7394, allocations: 4 kB / 0.7649 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002207/0.7396, allocations: 227 kB / 0.7651 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7396, allocations: 0 / 0.7651 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003705/0.74, allocations: 79.84 kB / 0.7652 GB, free: 6.645 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.000349/0.7403, allocations: 160.3 kB / 0.7653 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004258/0.7408, allocations: 167.8 kB / 0.7655 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.7408, allocations: 0 / 0.7655 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001869/0.741, allocations: 92.58 kB / 0.7656 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009085/0.7419, allocations: 137 kB / 0.7657 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009189/0.7428, allocations: 0.6571 MB / 0.7664 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000353/0.7432, allocations: 0.7797 MB / 0.7671 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002141/0.7434, allocations: 60.44 kB / 0.7672 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.109e-05/0.7435, allocations: 23.44 kB / 0.7672 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of SimCode: time 4.61e-07/0.7435, allocations: 4 kB / 0.7672 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of Templates: time 0.009906/0.7534, allocations: 4.84 MB / 0.7719 GB, free: 15.77 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)