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.001237/0.001237, allocations: 113.5 kB / 16.37 MB, free: 6.012 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.001249/0.00125, allocations: 189 kB / 17.3 MB, free: 5.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.318/1.318, allocations: 222.9 MB / 241 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.8049/0.8049, allocations: 135.1 MB / 426.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.00137, allocations: 59.89 kB / 0.5068 GB, free: 7.664 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.3604, allocations: 80.9 MB / 0.5858 GB, free: 25.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.163/0.5235, allocations: 167.5 MB / 0.7494 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3795/0.903, allocations: 6.536 MB / 0.7557 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005928/0.9037, allocations: 12.91 kB / 0.7558 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000601/0.9043, allocations: 171.8 kB / 0.7559 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002373/0.9067, allocations: 0.8347 MB / 0.7567 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000975/0.9077, allocations: 336.5 kB / 0.7571 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006804/0.9084, allocations: 0.7174 MB / 0.7578 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003872/0.9088, allocations: 276.6 kB / 0.758 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001019/0.9099, allocations: 0.5534 MB / 0.7586 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00033/0.9102, allocations: 272 kB / 0.7588 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.65e-05/0.9102, allocations: 24.94 kB / 0.7588 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006019/0.9108, allocations: 336.3 kB / 0.7592 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001388/0.911, allocations: 106.2 kB / 0.7593 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000177/0.9112, allocations: 170.8 kB / 0.7594 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006365/0.9118, allocations: 475.3 kB / 0.7599 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.9118, allocations: 0.9688 kB / 0.7599 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.784e-06/0.9118, allocations: 0 / 0.7599 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.9119, allocations: 0 / 0.7599 GB, free: 1.641 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.0009709/0.9128, allocations: 0.6212 MB / 0.7605 GB, free: 17.18 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.9129, allocations: 12.59 kB / 0.7605 GB, free: 17.18 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003504/0.9132, allocations: 61.12 kB / 0.7606 GB, free: 17.16 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005214/0.9138, allocations: 324.1 kB / 0.7609 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/0.9138, allocations: 21.62 kB / 0.7609 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.934e-05/0.9139, allocations: 28.88 kB / 0.7609 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005558/0.9144, allocations: 318.1 kB / 0.7612 GB, free: 16.83 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.9144, allocations: 0.7969 kB / 0.7612 GB, free: 16.83 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.394e-05/0.9145, allocations: 11.31 kB / 0.7612 GB, free: 16.83 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.9145, allocations: 7.031 kB / 0.7612 GB, free: 16.83 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004881/0.915, allocations: 201.1 kB / 0.7614 GB, free: 16.83 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.001837/0.9168, allocations: 1.532 MB / 0.7629 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002895/0.9171, allocations: 127.7 kB / 0.7631 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002068/0.9174, allocations: 91.14 kB / 0.7631 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006702/0.918, allocations: 299.5 kB / 0.7634 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/0.9181, allocations: 36.19 kB / 0.7635 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 1.442e-06/0.9181, allocations: 1.062 kB / 0.7635 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0008348/0.9189, allocations: 281.6 kB / 0.7637 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.919, allocations: 53.56 kB / 0.7638 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003715/0.9194, allocations: 310.5 kB / 0.7641 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.9194, allocations: 29.64 kB / 0.7641 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000167/0.9196, allocations: 186.3 kB / 0.7643 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.328e-05/0.9196, allocations: 42.06 kB / 0.7643 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.304e-05/0.9197, allocations: 38.58 kB / 0.7644 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.9198, allocations: 340.5 kB / 0.7647 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.92, allocations: 57.64 kB / 0.7647 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/0.9202, allocations: 115.1 kB / 0.7649 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003264/0.9205, allocations: 173.7 kB / 0.765 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.9206, allocations: 5.406 kB / 0.765 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004275/0.921, allocations: 215.7 kB / 0.7652 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.84e-05/0.921, allocations: 6.656 kB / 0.7652 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.921, allocations: 4.688 kB / 0.7652 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.9211, allocations: 2.781 kB / 0.7652 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/0.9213, allocations: 32.09 kB / 0.7653 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.9213, allocations: 5.062 kB / 0.7653 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001725/0.9215, allocations: 34.38 kB / 0.7653 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.302e-05/0.9215, allocations: 7.469 kB / 0.7653 GB, free: 14.47 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.0001554/0.9217, allocations: 155.5 kB / 0.7655 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.238e-05/0.9217, allocations: 29.66 kB / 0.7655 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004851/0.9222, allocations: 206.8 kB / 0.7657 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.9222, allocations: 1.438 kB / 0.7657 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.9222, allocations: 1.406 kB / 0.7657 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.9222, allocations: 0 / 0.7657 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.9234, allocations: 0.6813 MB / 0.7664 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.9234, allocations: 1.875 kB / 0.7664 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.9236, allocations: 35.41 kB / 0.7664 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.9236, allocations: 2.469 kB / 0.7664 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.9236, allocations: 3.562 kB / 0.7664 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.594e-06/0.9236, allocations: 7.781 kB / 0.7664 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.9237, allocations: 3.5 kB / 0.7664 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005133/0.9242, allocations: 334.9 kB / 0.7667 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001358/0.9243, allocations: 121 kB / 0.7668 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.389e-05/0.9244, allocations: 10.67 kB / 0.7669 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.9245, allocations: 9.281 kB / 0.7669 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.075e-05/0.9246, allocations: 19.81 kB / 0.7669 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.9246, allocations: 5.781 kB / 0.7669 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002861/0.9249, allocations: 222 kB / 0.7671 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.9249, allocations: 0 / 0.7671 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004655/0.9254, allocations: 80.45 kB / 0.7672 GB, free: 13.52 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.0004292/0.9258, allocations: 157.4 kB / 0.7673 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004165/0.9263, allocations: 156.7 kB / 0.7675 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.9263, allocations: 1.922 kB / 0.7675 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.9264, allocations: 85.77 kB / 0.7676 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007423/0.9272, allocations: 149.3 kB / 0.7677 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007529/0.9279, allocations: 0.5404 MB / 0.7682 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003835/0.9283, allocations: 0.7812 MB / 0.769 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001687/0.9285, allocations: 61.28 kB / 0.7691 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.311e-05/0.9286, allocations: 24.38 kB / 0.7691 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of SimCode: time 5.61e-07/0.9286, allocations: 0.8438 kB / 0.7691 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of Templates: time 0.009963/0.9385, allocations: 5.113 MB / 0.7741 GB, free: 12.27 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)