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-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_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.0008995/0.0008995, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.00087/0.00087, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.172/1.172, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8316/0.8316, allocations: 135.2 MB / 426.2 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002804/0.0002805, allocations: 9.25 kB / 0.5068 GB, free: 5.266 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1451, allocations: 82.31 MB / 0.5872 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.3605/0.5056, allocations: 140.3 MB / 0.7242 GB, free: 8.629 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006802/0.5125, allocations: 5.268 MB / 0.7294 GB, free: 4.941 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003709/0.5129, allocations: 18.16 kB / 0.7294 GB, free: 4.93 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006639/0.5135, allocations: 191.6 kB / 0.7296 GB, free: 4.82 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001472/0.515, allocations: 0.5596 MB / 0.7301 GB, free: 4.48 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.5161, allocations: 345.5 kB / 0.7304 GB, free: 4.316 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005512/0.5166, allocations: 436.9 kB / 0.7309 GB, free: 4.094 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003828/0.517, allocations: 220.2 kB / 0.7311 GB, free: 4.02 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009225/0.5179, allocations: 427.5 kB / 0.7315 GB, free: 3.816 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002905/0.5182, allocations: 203 kB / 0.7317 GB, free: 3.73 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.325e-05/0.5183, allocations: 12.97 kB / 0.7317 GB, free: 3.73 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005164/0.5188, allocations: 201.9 kB / 0.7319 GB, free: 3.676 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.5189, allocations: 89.14 kB / 0.732 GB, free: 3.645 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.861e-05/0.519, allocations: 84.36 kB / 0.732 GB, free: 3.586 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004308/0.5195, allocations: 308.9 kB / 0.7323 GB, free: 3.516 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.5195, allocations: 0 / 0.7323 GB, free: 3.516 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.787e-06/0.5195, allocations: 0 / 0.7323 GB, free: 3.516 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.5195, allocations: 1.125 kB / 0.7323 GB, free: 3.516 MB / 0.545 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.0007742/0.5203, allocations: 0.5697 MB / 0.7329 GB, free: 3.027 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.5203, allocations: 8.25 kB / 0.7329 GB, free: 3.027 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002882/0.5206, allocations: 63.69 kB / 0.733 GB, free: 3.004 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003976/0.521, allocations: 302.9 kB / 0.7332 GB, free: 2.742 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/0.521, allocations: 19.56 kB / 0.7333 GB, free: 2.734 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.62e-05/0.5211, allocations: 25.88 kB / 0.7333 GB, free: 2.727 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004889/0.5216, allocations: 314.8 kB / 0.7336 GB, free: 2.559 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.5216, allocations: 6.562 kB / 0.7336 GB, free: 2.555 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.484e-05/0.5216, allocations: 14.08 kB / 0.7336 GB, free: 2.543 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.5217, allocations: 5.594 kB / 0.7336 GB, free: 2.543 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004066/0.5221, allocations: 212.4 kB / 0.7338 GB, free: 2.48 MB / 0.545 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.001547/0.5236, allocations: 1.534 MB / 0.7353 GB, free: 1.172 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000239/0.5239, allocations: 127.3 kB / 0.7354 GB, free: 1.113 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000418/0.5243, allocations: 137.3 kB / 0.7356 GB, free: 1.016 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.5243, allocations: 35.27 kB / 0.7356 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/0.5243, allocations: 3.938 kB / 0.7356 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0007407/0.5251, allocations: 287.7 kB / 0.7359 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.5251, allocations: 54.75 kB / 0.7359 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003173/0.5255, allocations: 308.2 kB / 0.7362 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001001/0.5256, allocations: 32.88 kB / 0.7363 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.5257, allocations: 184.2 kB / 0.7364 GB, free: 464 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.911e-05/0.5258, allocations: 42.22 kB / 0.7365 GB, free: 432 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.638e-06/0.5258, allocations: 4 kB / 0.7365 GB, free: 428 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.5259, allocations: 337.8 kB / 0.7368 GB, free: 96 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/0.5261, allocations: 67.81 kB / 0.7369 GB, free: 76 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001866/0.5263, allocations: 122 kB / 0.737 GB, free: 0 / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/0.5265, allocations: 84.58 kB / 0.7371 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.5265, allocations: 0 / 0.7371 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004064/0.5269, allocations: 227.2 kB / 0.7373 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.5269, allocations: 5.844 kB / 0.7373 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.5269, allocations: 0 / 0.7373 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.5269, allocations: 4.375 kB / 0.7373 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.5271, allocations: 42.59 kB / 0.7373 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.5271, allocations: 2.938 kB / 0.7373 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001873/0.5273, allocations: 39.53 kB / 0.7374 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.734e-05/0.5274, allocations: 13.88 kB / 0.7374 GB, free: 15.84 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001355/0.5275, allocations: 147 kB / 0.7375 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.924e-05/0.5276, allocations: 26.52 kB / 0.7375 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004341/0.528, allocations: 228.6 kB / 0.7378 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.528, allocations: 48 / 0.7378 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.528, allocations: 6.672 kB / 0.7378 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.528, allocations: 0.5625 kB / 0.7378 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.5291, allocations: 0.6934 MB / 0.7384 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.5291, allocations: 4.547 kB / 0.7384 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/0.5292, allocations: 35.23 kB / 0.7385 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.5292, allocations: 2.438 kB / 0.7385 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.5292, allocations: 2.688 kB / 0.7385 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.5292, allocations: 4 kB / 0.7385 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.5293, allocations: 0 / 0.7385 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005191/0.5298, allocations: 442.1 kB / 0.7389 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.5299, allocations: 113.7 kB / 0.739 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.081e-05/0.53, allocations: 16.36 kB / 0.739 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001742/0.5301, allocations: 14.89 kB / 0.7391 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.434e-05/0.5302, allocations: 21.23 kB / 0.7391 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.5302, allocations: 6.438 kB / 0.7391 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002309/0.5304, allocations: 223.5 kB / 0.7393 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.5305, allocations: 3.25 kB / 0.7393 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003629/0.5308, allocations: 70.97 kB / 0.7394 GB, free: 14.45 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003753/0.5312, allocations: 154.6 kB / 0.7395 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003936/0.5316, allocations: 160 kB / 0.7397 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.5316, allocations: 4.312 kB / 0.7397 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.5318, allocations: 91.77 kB / 0.7398 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007212/0.5325, allocations: 139.6 kB / 0.7399 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009814/0.5335, allocations: 0.6389 MB / 0.7405 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004321/0.534, allocations: 0.7871 MB / 0.7413 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002193/0.5342, allocations: 62.34 kB / 0.7413 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.61e-05/0.5343, allocations: 20.44 kB / 0.7414 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of SimCode: time 4.11e-07/0.5343, allocations: 0 / 0.7414 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of Templates: time 0.008761/0.543, allocations: 4.688 MB / 0.7459 GB, free: 9.562 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: