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.00703/0.00703, allocations: 99.89 kB / 15.73 MB, free: 6.043 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.001358/0.001358, allocations: 194.9 kB / 16.68 MB, free: 5.961 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.445/1.445, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8026/0.8026, allocations: 135.1 MB / 425.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 71.47 kB / 0.5856 GB, free: 21.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1672, allocations: 80.92 MB / 0.6647 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5245/0.6918, allocations: 167.5 MB / 0.8283 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006835/0.6987, allocations: 6.542 MB / 0.8346 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003862/0.6991, allocations: 13.47 kB / 0.8347 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004851/0.6996, allocations: 165.1 kB / 0.8348 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001959/0.7016, allocations: 0.8774 MB / 0.8357 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008169/0.7024, allocations: 335.4 kB / 0.836 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007392/0.7032, allocations: 0.722 MB / 0.8367 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003901/0.7036, allocations: 277 kB / 0.837 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001018/0.7046, allocations: 0.571 MB / 0.8375 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003086/0.7049, allocations: 264.4 kB / 0.8378 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.247e-05/0.7049, allocations: 22.62 kB / 0.8378 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005946/0.7055, allocations: 347.8 kB / 0.8381 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.7057, allocations: 110.9 kB / 0.8382 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001724/0.7059, allocations: 164.3 kB / 0.8384 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005878/0.7064, allocations: 474 kB / 0.8388 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.7065, allocations: 6.031 kB / 0.8388 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.292e-06/0.7065, allocations: 0 / 0.8388 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.7065, allocations: 0 / 0.8388 GB, free: 7.73 MB / 0.6075 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.0007914/0.7073, allocations: 0.6105 MB / 0.8394 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.7073, allocations: 14.58 kB / 0.8395 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000291/0.7076, allocations: 62.28 kB / 0.8395 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004381/0.7081, allocations: 324.7 kB / 0.8398 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.7081, allocations: 21.94 kB / 0.8398 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.309e-05/0.7081, allocations: 25.91 kB / 0.8399 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005112/0.7086, allocations: 318.1 kB / 0.8402 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.7087, allocations: 0 / 0.8402 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.374e-05/0.7087, allocations: 14.41 kB / 0.8402 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.7087, allocations: 7.844 kB / 0.8402 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000379/0.7091, allocations: 209.4 kB / 0.8404 GB, free: 6.484 MB / 0.6075 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.001532/0.7106, allocations: 1.527 MB / 0.8419 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002265/0.7109, allocations: 122.2 kB / 0.842 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001595/0.711, allocations: 88.58 kB / 0.8421 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005391/0.7116, allocations: 302.1 kB / 0.8424 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.7116, allocations: 41.25 kB / 0.8424 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/0.7116, allocations: 0 / 0.8424 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0006928/0.7123, allocations: 272 kB / 0.8427 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.7124, allocations: 57.66 kB / 0.8427 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002748/0.7128, allocations: 313.4 kB / 0.843 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.7128, allocations: 28.55 kB / 0.8431 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.7129, allocations: 183.2 kB / 0.8432 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.713, allocations: 43.33 kB / 0.8433 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.295e-05/0.713, allocations: 33.91 kB / 0.8433 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.7132, allocations: 346.1 kB / 0.8436 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.7133, allocations: 53.95 kB / 0.8437 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000194/0.7135, allocations: 118.2 kB / 0.8438 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003251/0.7138, allocations: 171.6 kB / 0.844 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.7139, allocations: 4.656 kB / 0.844 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003848/0.7143, allocations: 223.8 kB / 0.8442 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.7143, allocations: 5.062 kB / 0.8442 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.7143, allocations: 1.938 kB / 0.8442 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.7143, allocations: 10.72 kB / 0.8442 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.7145, allocations: 37.62 kB / 0.8442 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.7145, allocations: 2.094 kB / 0.8442 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001851/0.7147, allocations: 26.08 kB / 0.8443 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.857e-05/0.7147, allocations: 11.12 kB / 0.8443 GB, free: 3.141 MB / 0.6075 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.0001402/0.7149, allocations: 151.5 kB / 0.8444 GB, free: 3 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.932e-05/0.7149, allocations: 28.22 kB / 0.8444 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004258/0.7154, allocations: 211.5 kB / 0.8446 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.718e-06/0.7154, allocations: 1.812 kB / 0.8446 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.7154, allocations: 0 / 0.8446 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.7154, allocations: 0 / 0.8446 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000994/0.7164, allocations: 0.6895 MB / 0.8453 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.7164, allocations: 2.5 kB / 0.8453 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001491/0.7166, allocations: 26.52 kB / 0.8453 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.7166, allocations: 2.406 kB / 0.8453 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.7166, allocations: 6.219 kB / 0.8454 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.297e-05/0.7166, allocations: 14.83 kB / 0.8454 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.7166, allocations: 2.781 kB / 0.8454 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004556/0.7171, allocations: 330 kB / 0.8457 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.7172, allocations: 124.2 kB / 0.8458 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.291e-05/0.7173, allocations: 6.375 kB / 0.8458 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.7174, allocations: 9.188 kB / 0.8458 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.147e-05/0.7175, allocations: 19.52 kB / 0.8458 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.7175, allocations: 4.656 kB / 0.8458 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002424/0.7178, allocations: 224.4 kB / 0.8461 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7178, allocations: 0 / 0.8461 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004158/0.7182, allocations: 75.94 kB / 0.8461 GB, free: 1.676 MB / 0.6075 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.0004371/0.7186, allocations: 171.2 kB / 0.8463 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004195/0.7191, allocations: 152.7 kB / 0.8464 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.7191, allocations: 3.406 kB / 0.8464 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000175/0.7193, allocations: 82.62 kB / 0.8465 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008669/0.7201, allocations: 157.5 kB / 0.8467 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009658/0.7211, allocations: 0.5247 MB / 0.8472 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004829/0.7216, allocations: 0.7771 MB / 0.8479 GB, free: 236 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001954/0.7218, allocations: 66.02 kB / 0.848 GB, free: 208 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.981e-05/0.7219, allocations: 26.06 kB / 0.848 GB, free: 196 kB / 0.6075 GB Notification: Performance of SimCode: time 4.81e-07/0.7219, allocations: 0 / 0.848 GB, free: 196 kB / 0.6075 GB Notification: Performance of Templates: time 0.009808/0.7317, allocations: 5.148 MB / 0.8531 GB, free: 13.65 MB / 0.6231 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)