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.00107/0.00107, allocations: 110.9 kB / 16.37 MB, free: 6.469 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.001134/0.001134, allocations: 189.9 kB / 17.3 MB, free: 5.828 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.233/1.233, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7529/0.7529, allocations: 135.1 MB / 426.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 59.91 kB / 0.5068 GB, free: 7.672 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3232, allocations: 80.91 MB / 0.5858 GB, free: 25.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1539/0.4771, allocations: 167.5 MB / 0.7494 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3086/0.7858, allocations: 6.532 MB / 0.7557 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004418/0.7862, allocations: 11.91 kB / 0.7558 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004503/0.7867, allocations: 174.3 kB / 0.7559 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001696/0.7885, allocations: 0.8391 MB / 0.7567 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008066/0.7893, allocations: 331.6 kB / 0.7571 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006925/0.79, allocations: 0.7141 MB / 0.7578 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004086/0.7904, allocations: 279 kB / 0.758 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001037/0.7914, allocations: 0.5553 MB / 0.7586 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003556/0.7918, allocations: 270.5 kB / 0.7588 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.904e-05/0.7919, allocations: 24.41 kB / 0.7588 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005599/0.7924, allocations: 341.7 kB / 0.7592 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000137/0.7926, allocations: 102.9 kB / 0.7593 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001803/0.7928, allocations: 165.3 kB / 0.7594 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007091/0.7935, allocations: 476.6 kB / 0.7599 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.7935, allocations: 4.078 kB / 0.7599 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7935, allocations: 0 / 0.7599 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.315e-06/0.7935, allocations: 0.6562 kB / 0.7599 GB, free: 1.676 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.001022/0.7945, allocations: 0.6156 MB / 0.7605 GB, free: 17.21 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.7946, allocations: 10.14 kB / 0.7605 GB, free: 17.21 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003223/0.7949, allocations: 64.17 kB / 0.7606 GB, free: 17.19 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004879/0.7954, allocations: 322.8 kB / 0.7609 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.178e-05/0.7955, allocations: 20.91 kB / 0.7609 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.95e-05/0.7955, allocations: 31.16 kB / 0.7609 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005858/0.7961, allocations: 322.7 kB / 0.7612 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.7961, allocations: 4.125 kB / 0.7612 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.289e-05/0.7962, allocations: 10.78 kB / 0.7612 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/0.7962, allocations: 6.656 kB / 0.7612 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004188/0.7966, allocations: 202.2 kB / 0.7614 GB, free: 16.86 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.001534/0.7981, allocations: 1.526 MB / 0.7629 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/0.7984, allocations: 121.7 kB / 0.763 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001746/0.7986, allocations: 92.66 kB / 0.7631 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005323/0.7991, allocations: 305.8 kB / 0.7634 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.7991, allocations: 36.59 kB / 0.7635 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/0.7992, allocations: 0 / 0.7635 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0007048/0.7999, allocations: 277.6 kB / 0.7637 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.7999, allocations: 54.53 kB / 0.7638 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003055/0.8002, allocations: 309.2 kB / 0.7641 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.8002, allocations: 28.64 kB / 0.7641 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.894e-05/0.8004, allocations: 185.6 kB / 0.7643 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.919e-05/0.8004, allocations: 42.36 kB / 0.7643 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-05/0.8005, allocations: 39.61 kB / 0.7644 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.8006, allocations: 338.6 kB / 0.7647 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.8007, allocations: 58.91 kB / 0.7647 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/0.8009, allocations: 119.8 kB / 0.7648 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000317/0.8012, allocations: 171 kB / 0.765 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.8012, allocations: 4.844 kB / 0.765 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004046/0.8017, allocations: 218.3 kB / 0.7652 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.8017, allocations: 7.062 kB / 0.7652 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.8017, allocations: 1.125 kB / 0.7652 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.8017, allocations: 3.438 kB / 0.7652 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.8019, allocations: 35.31 kB / 0.7653 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.8019, allocations: 7 kB / 0.7653 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.8021, allocations: 31.22 kB / 0.7653 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.934e-05/0.8021, allocations: 11.25 kB / 0.7653 GB, free: 14.5 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.0001325/0.8022, allocations: 156 kB / 0.7655 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.219e-05/0.8023, allocations: 29.98 kB / 0.7655 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004118/0.8027, allocations: 204.2 kB / 0.7657 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.8027, allocations: 2.922 kB / 0.7657 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.8027, allocations: 5.484 kB / 0.7657 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.8027, allocations: 0 / 0.7657 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009572/0.8037, allocations: 0.6837 MB / 0.7664 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.8037, allocations: 3.219 kB / 0.7664 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/0.8039, allocations: 28.48 kB / 0.7664 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.8039, allocations: 4.062 kB / 0.7664 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.8039, allocations: 6.812 kB / 0.7664 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.743e-06/0.8039, allocations: 9.062 kB / 0.7664 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.8039, allocations: 4.328 kB / 0.7664 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004492/0.8044, allocations: 340.8 kB / 0.7667 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.8045, allocations: 113 kB / 0.7668 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.106e-05/0.8045, allocations: 6.969 kB / 0.7669 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.8047, allocations: 12.94 kB / 0.7669 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.344e-05/0.8048, allocations: 15.78 kB / 0.7669 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.8048, allocations: 5.938 kB / 0.7669 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002677/0.8051, allocations: 224.9 kB / 0.7671 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.31e-07/0.8051, allocations: 0.875 kB / 0.7671 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004073/0.8055, allocations: 75.42 kB / 0.7672 GB, free: 13.56 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.0003527/0.8058, allocations: 150 kB / 0.7673 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004166/0.8063, allocations: 161.1 kB / 0.7675 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.8063, allocations: 5.812 kB / 0.7675 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001569/0.8064, allocations: 80.25 kB / 0.7676 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000704/0.8072, allocations: 155.7 kB / 0.7677 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006822/0.8078, allocations: 0.5422 MB / 0.7682 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.8082, allocations: 0.7763 MB / 0.769 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001541/0.8083, allocations: 66.59 kB / 0.7691 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.958e-05/0.8084, allocations: 23.78 kB / 0.7691 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of SimCode: time 2.5e-07/0.8084, allocations: 0 / 0.7691 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of Templates: time 0.009391/0.8178, allocations: 5.119 MB / 0.7741 GB, free: 12.3 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 gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)