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.0009464/0.0009464, allocations: 98.88 kB / 16.02 MB, free: 76 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.001048/0.001048, allocations: 185.7 kB / 16.92 MB, free: 6.75 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.36/1.36, allocations: 223.3 MB / 241 MB, free: 5.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9403/0.9403, allocations: 135.3 MB / 427.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003378/0.0003378, allocations: 8 kB / 0.5082 GB, free: 4.746 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1704, allocations: 82.32 MB / 0.5886 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.4674/0.6378, allocations: 163.1 MB / 0.7479 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007321/0.6452, allocations: 6.478 MB / 0.7542 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005024/0.6457, allocations: 9.125 kB / 0.7542 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005172/0.6463, allocations: 134.6 kB / 0.7544 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001968/0.6483, allocations: 0.7851 MB / 0.7551 GB, free: 32 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008512/0.6491, allocations: 294.6 kB / 0.7554 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009881/0.6501, allocations: 1.016 MB / 0.7564 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003556/0.6505, allocations: 227.4 kB / 0.7566 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001128/0.6516, allocations: 0.5011 MB / 0.7571 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003653/0.652, allocations: 278.7 kB / 0.7574 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.37e-05/0.652, allocations: 15.5 kB / 0.7574 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006837/0.6527, allocations: 393.2 kB / 0.7578 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001277/0.6529, allocations: 93.95 kB / 0.7579 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.653, allocations: 183.1 kB / 0.758 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000385/0.6534, allocations: 317.4 kB / 0.7583 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.6534, allocations: 4 kB / 0.7583 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6535, allocations: 0 / 0.7583 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.6535, allocations: 0 / 0.7583 GB, free: 14.09 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.0007632/0.6542, allocations: 0.5652 MB / 0.7589 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.6543, allocations: 9.75 kB / 0.7589 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003445/0.6546, allocations: 69.73 kB / 0.759 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003627/0.655, allocations: 300 kB / 0.7593 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.655, allocations: 22.91 kB / 0.7593 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.412e-05/0.6551, allocations: 25.34 kB / 0.7593 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005115/0.6556, allocations: 331.6 kB / 0.7596 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.6556, allocations: 0 / 0.7596 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.327e-05/0.6556, allocations: 11.25 kB / 0.7596 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.6556, allocations: 6.75 kB / 0.7596 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003934/0.656, allocations: 211.6 kB / 0.7598 GB, free: 12.89 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.001435/0.6575, allocations: 1.547 MB / 0.7613 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002344/0.6577, allocations: 118.5 kB / 0.7615 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/0.6579, allocations: 103.9 kB / 0.7616 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005752/0.6585, allocations: 315.2 kB / 0.7619 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.6586, allocations: 34.5 kB / 0.7619 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.6586, allocations: 0 / 0.7619 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0007308/0.6593, allocations: 289.4 kB / 0.7622 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.6593, allocations: 55.41 kB / 0.7622 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002968/0.6596, allocations: 312.5 kB / 0.7625 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.6597, allocations: 29.7 kB / 0.7625 GB, free: 9.996 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.6598, allocations: 184 kB / 0.7627 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.288e-05/0.6598, allocations: 43.45 kB / 0.7628 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.138e-05/0.6599, allocations: 21.72 kB / 0.7628 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.66, allocations: 346.7 kB / 0.7631 GB, free: 9.395 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.6602, allocations: 59.95 kB / 0.7632 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001958/0.6604, allocations: 127.1 kB / 0.7633 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003318/0.6607, allocations: 181.8 kB / 0.7635 GB, free: 9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.6607, allocations: 0 / 0.7635 GB, free: 9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004114/0.6611, allocations: 233.7 kB / 0.7637 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.6612, allocations: 4 kB / 0.7637 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.6612, allocations: 0 / 0.7637 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.6612, allocations: 4 kB / 0.7637 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.6614, allocations: 43.91 kB / 0.7637 GB, free: 8.715 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.6614, allocations: 4 kB / 0.7637 GB, free: 8.711 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001838/0.6616, allocations: 39.8 kB / 0.7638 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.598e-05/0.6616, allocations: 8 kB / 0.7638 GB, free: 8.664 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.0001438/0.6617, allocations: 153.8 kB / 0.7639 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.587e-05/0.6618, allocations: 23.72 kB / 0.764 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004469/0.6622, allocations: 227.8 kB / 0.7642 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.6623, allocations: 4 kB / 0.7642 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.6623, allocations: 0 / 0.7642 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.6623, allocations: 3.984 kB / 0.7642 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009657/0.6632, allocations: 0.6992 MB / 0.7649 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.6633, allocations: 0 / 0.7649 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/0.6634, allocations: 31.92 kB / 0.7649 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.6634, allocations: 4 kB / 0.7649 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.6634, allocations: 7.938 kB / 0.7649 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.6634, allocations: 0 / 0.7649 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.6634, allocations: 4 kB / 0.7649 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004243/0.6639, allocations: 345.2 kB / 0.7652 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.664, allocations: 116.7 kB / 0.7654 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.357e-05/0.664, allocations: 7.938 kB / 0.7654 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.6642, allocations: 19.98 kB / 0.7654 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.064e-05/0.6642, allocations: 19.92 kB / 0.7654 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.006e-06/0.6643, allocations: 4 kB / 0.7654 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002016/0.6645, allocations: 227 kB / 0.7656 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6645, allocations: 0 / 0.7656 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003472/0.6648, allocations: 71.84 kB / 0.7657 GB, free: 6.574 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.00035/0.6652, allocations: 158.8 kB / 0.7658 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003993/0.6656, allocations: 175.7 kB / 0.766 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.6656, allocations: 0 / 0.766 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001748/0.6658, allocations: 83.83 kB / 0.7661 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000877/0.6667, allocations: 149.8 kB / 0.7662 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008808/0.6676, allocations: 0.69 MB / 0.7669 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004308/0.668, allocations: 0.7797 MB / 0.7677 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.114e-05/0.6681, allocations: 27.44 kB / 0.7677 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of SimCode: time 2.41e-07/0.6681, allocations: 0 / 0.7677 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of Templates: time 0.006701/0.6748, allocations: 4.491 MB / 0.7721 GB, free: 32 kB / 0.5762 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)