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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.001188/0.001188, allocations: 105.6 kB / 15.98 MB, free: 5.895 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.001219/0.00122, allocations: 195.3 kB / 16.91 MB, free: 5.746 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.361/1.361, allocations: 222.9 MB / 240.6 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7456/0.7456, allocations: 132.2 MB / 422.9 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 55.25 kB / 0.5019 GB, free: 4.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4615/0.4629, allocations: 80.22 MB / 0.5802 GB, free: 4.789 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1975/0.6604, allocations: 165.3 MB / 0.7416 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008201/0.6687, allocations: 6.496 MB / 0.748 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007113/0.6695, allocations: 7.938 kB / 0.748 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000677/0.6702, allocations: 143.1 kB / 0.7481 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002576/0.6728, allocations: 0.7899 MB / 0.7489 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.6738, allocations: 286.4 kB / 0.7492 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009648/0.6748, allocations: 0.7251 MB / 0.7499 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004437/0.6752, allocations: 258.6 kB / 0.7501 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00116/0.6764, allocations: 0.5527 MB / 0.7506 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003681/0.6768, allocations: 286.9 kB / 0.7509 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.02e-05/0.6768, allocations: 24 kB / 0.7509 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006382/0.6775, allocations: 355.1 kB / 0.7513 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001339/0.6776, allocations: 107.6 kB / 0.7514 GB, free: 2 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001546/0.6778, allocations: 159.2 kB / 0.7515 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004768/0.6783, allocations: 343.3 kB / 0.7519 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.6783, allocations: 0 / 0.7519 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.893e-06/0.6783, allocations: 0 / 0.7519 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.6783, allocations: 0 / 0.7519 GB, free: 1.508 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.0009214/0.6792, allocations: 0.6233 MB / 0.7525 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.6793, allocations: 8.031 kB / 0.7525 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003476/0.6796, allocations: 63.44 kB / 0.7525 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003979/0.6801, allocations: 317.1 kB / 0.7528 GB, free: 428 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.6801, allocations: 20.55 kB / 0.7529 GB, free: 408 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.512e-05/0.6801, allocations: 28 kB / 0.7529 GB, free: 380 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005383/0.6807, allocations: 319.7 kB / 0.7532 GB, free: 36 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.6807, allocations: 0 / 0.7532 GB, free: 36 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.554e-05/0.6807, allocations: 12 kB / 0.7532 GB, free: 24 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.6808, allocations: 11.94 kB / 0.7532 GB, free: 12 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004168/0.6812, allocations: 205.5 kB / 0.7534 GB, free: 15.8 MB / 0.5919 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.001597/0.6828, allocations: 1.534 MB / 0.7549 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002565/0.683, allocations: 114.5 kB / 0.755 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001682/0.6832, allocations: 92.8 kB / 0.7551 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006842/0.6839, allocations: 303.2 kB / 0.7554 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.684, allocations: 34.56 kB / 0.7554 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 1.313e-06/0.684, allocations: 0 / 0.7554 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0007221/0.6847, allocations: 279.9 kB / 0.7557 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.514e-05/0.6848, allocations: 55.41 kB / 0.7557 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003131/0.6851, allocations: 304.6 kB / 0.756 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.6851, allocations: 29.7 kB / 0.7561 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.6853, allocations: 188 kB / 0.7562 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.598e-05/0.6853, allocations: 39.44 kB / 0.7563 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.754e-05/0.6854, allocations: 37.62 kB / 0.7563 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001729/0.6856, allocations: 350.7 kB / 0.7567 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.6857, allocations: 55.95 kB / 0.7567 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001805/0.6859, allocations: 113.1 kB / 0.7568 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00031/0.6862, allocations: 176.9 kB / 0.757 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.6862, allocations: 0 / 0.757 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000391/0.6866, allocations: 217.1 kB / 0.7572 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.6866, allocations: 4 kB / 0.7572 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.6867, allocations: 4 kB / 0.7572 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.6867, allocations: 0 / 0.7572 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.6868, allocations: 39.97 kB / 0.7572 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.6869, allocations: 0 / 0.7572 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.6871, allocations: 39.8 kB / 0.7573 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.824e-05/0.6871, allocations: 8 kB / 0.7573 GB, free: 11.54 MB / 0.5919 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.000146/0.6873, allocations: 157.7 kB / 0.7574 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.699e-05/0.6873, allocations: 27.62 kB / 0.7575 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004373/0.6877, allocations: 212.2 kB / 0.7577 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.6878, allocations: 0 / 0.7577 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.6878, allocations: 0 / 0.7577 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.6878, allocations: 8 kB / 0.7577 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009908/0.6888, allocations: 0.6757 MB / 0.7583 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.6888, allocations: 3.938 kB / 0.7583 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.6889, allocations: 31.97 kB / 0.7584 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.6889, allocations: 3.938 kB / 0.7584 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.689, allocations: 4 kB / 0.7584 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.689, allocations: 7.938 kB / 0.7584 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.689, allocations: 0 / 0.7584 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004198/0.6894, allocations: 341.2 kB / 0.7587 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.6895, allocations: 120.8 kB / 0.7588 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.85e-05/0.6896, allocations: 3.938 kB / 0.7588 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.6897, allocations: 23.92 kB / 0.7588 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.677e-05/0.6898, allocations: 7.984 kB / 0.7589 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.6898, allocations: 4 kB / 0.7589 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002149/0.69, allocations: 231 kB / 0.7591 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/0.69, allocations: 0 / 0.7591 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003681/0.6904, allocations: 67.91 kB / 0.7591 GB, free: 9.48 MB / 0.5919 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.0004211/0.6908, allocations: 161.6 kB / 0.7593 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004052/0.6913, allocations: 159.8 kB / 0.7595 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.6913, allocations: 0 / 0.7595 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001668/0.6914, allocations: 92.56 kB / 0.7595 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000797/0.6922, allocations: 151.7 kB / 0.7597 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009126/0.6932, allocations: 0.6672 MB / 0.7603 GB, free: 8.215 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003833/0.6936, allocations: 0.7756 MB / 0.7611 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.647e-05/0.6936, allocations: 31.36 kB / 0.7611 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of SimCode: time 4.71e-07/0.6936, allocations: 0 / 0.7611 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of Templates: time 0.007055/0.7007, allocations: 4.546 MB / 0.7656 GB, free: 2.898 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (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)