Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_AirHeater_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_AirHeater_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009259/0.009259, allocations: 170.1 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7605/0.7605, allocations: 135.2 MB / 151 MB, free: 13.83 MB / 122.7 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: 223.2 MB / 406.8 MB, free: 3.242 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 93.73 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003944/0.0003947, allocations: 19.98 kB / 0.5692 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4427/0.4431, allocations: 82.29 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.041/5.485, allocations: 1.923 GB / 2.573 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003964/5.485, allocations: 99.44 kB / 2.573 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.045/13.53, allocations: 2.091 GB / 4.664 GB, free: 60.35 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.014e-06/13.53, allocations: 0 / 4.664 GB, free: 60.35 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0002263/13.53, allocations: 53.83 kB / 4.664 GB, free: 60.34 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.007484/13.54, allocations: 2.908 MB / 4.667 GB, free: 58.3 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/13.54, allocations: 6.531 kB / 4.667 GB, free: 58.3 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004541/13.54, allocations: 198.9 kB / 4.667 GB, free: 58.14 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005055/13.54, allocations: 0.7776 MB / 4.668 GB, free: 57.83 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006159/13.55, allocations: 2.212 MB / 4.67 GB, free: 56.29 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.145e-05/13.55, allocations: 109.4 kB / 4.67 GB, free: 56.19 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000246/13.55, allocations: 140 kB / 4.671 GB, free: 56.05 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002809/13.55, allocations: 1.558 MB / 4.672 GB, free: 54.42 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.182e-05/13.55, allocations: 3.938 kB / 4.672 GB, free: 54.42 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001347/13.55, allocations: 63.38 kB / 4.672 GB, free: 54.36 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.917e-05/13.55, allocations: 52.8 kB / 4.672 GB, free: 54.31 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002366/13.56, allocations: 1.269 MB / 4.673 GB, free: 53.04 MB / 0.7292 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.00954/13.56, allocations: 7.445 MB / 4.681 GB, free: 45.13 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001865/13.57, allocations: 1.491 MB / 4.682 GB, free: 43.51 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009741/13.57, allocations: 0.7428 MB / 4.683 GB, free: 42.62 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009323/13.57, allocations: 0.5364 MB / 4.683 GB, free: 42.08 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009891/13.57, allocations: 130.6 kB / 4.684 GB, free: 41.95 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=86): time 3.196e-06/13.57, allocations: 0 / 4.684 GB, free: 41.95 MB / 0.7292 GB Notification: Performance of matching and sorting (n=86): time 0.003228/13.57, allocations: 1.505 MB / 4.685 GB, free: 40.42 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/13.57, allocations: 115.8 kB / 4.685 GB, free: 40.29 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001704/13.57, allocations: 1.339 MB / 4.686 GB, free: 38.95 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.821e-05/13.57, allocations: 41.7 kB / 4.686 GB, free: 38.9 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006803/13.58, allocations: 0.9222 MB / 4.687 GB, free: 37.97 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002046/13.58, allocations: 303.1 kB / 4.688 GB, free: 37.68 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.228e-05/13.58, allocations: 20 kB / 4.688 GB, free: 37.66 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.692e-05/13.58, allocations: 353.9 kB / 4.688 GB, free: 37.31 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000759/13.58, allocations: 397.9 kB / 4.688 GB, free: 36.92 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008961/13.58, allocations: 0.7541 MB / 4.689 GB, free: 36.01 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008412/13.58, allocations: 0.5112 MB / 4.69 GB, free: 35.5 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/13.58, allocations: 3.953 kB / 4.69 GB, free: 35.49 MB / 0.7292 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002211/13.58, allocations: 1.329 MB / 4.691 GB, free: 34.15 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006147/13.58, allocations: 3.392 MB / 4.694 GB, free: 30.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/13.58, allocations: 8 kB / 4.694 GB, free: 30.48 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.725e-05/13.58, allocations: 16 kB / 4.694 GB, free: 30.46 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/13.58, allocations: 267.6 kB / 4.694 GB, free: 30.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.946e-05/13.58, allocations: 27.83 kB / 4.695 GB, free: 30.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/13.58, allocations: 139.7 kB / 4.695 GB, free: 30.04 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.875e-05/13.58, allocations: 51.98 kB / 4.695 GB, free: 29.98 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.718e-06/13.58, allocations: 4 kB / 4.695 GB, free: 29.98 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00191/13.59, allocations: 1.154 MB / 4.696 GB, free: 28.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/13.59, allocations: 12 kB / 4.696 GB, free: 28.81 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/13.59, allocations: 12 kB / 4.696 GB, free: 28.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009733/13.59, allocations: 259.6 kB / 4.696 GB, free: 28.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/13.59, allocations: 15.94 kB / 4.696 GB, free: 28.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001555/13.59, allocations: 143.8 kB / 4.696 GB, free: 28.39 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.367e-05/13.59, allocations: 47.98 kB / 4.696 GB, free: 28.34 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 131 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001067/13.59, allocations: 0.5424 MB / 4.697 GB, free: 27.79 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002209/13.59, allocations: 177.8 kB / 4.697 GB, free: 27.61 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002152/13.59, allocations: 1.119 MB / 4.698 GB, free: 26.48 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/13.59, allocations: 11.98 kB / 4.698 GB, free: 26.47 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/13.59, allocations: 0 / 4.698 GB, free: 26.47 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00162/13.59, allocations: 1.188 MB / 4.699 GB, free: 25.19 MB / 0.7292 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 postOpt removeSimpleEquations (simulation): time 0.004913/13.6, allocations: 2.758 MB / 4.702 GB, free: 22.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/13.6, allocations: 0 / 4.702 GB, free: 22.38 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008592/13.6, allocations: 179.9 kB / 4.702 GB, free: 22.21 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002074/13.6, allocations: 48.81 kB / 4.702 GB, free: 22.16 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.47e-05/13.6, allocations: 27.98 kB / 4.702 GB, free: 22.13 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009984/13.6, allocations: 1.425 MB / 4.704 GB, free: 20.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/13.6, allocations: 7.891 kB / 4.704 GB, free: 20.56 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002691/13.6, allocations: 1.749 MB / 4.705 GB, free: 18.76 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007824/13.6, allocations: 342.7 kB / 4.706 GB, free: 18.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001802/13.6, allocations: 19.98 kB / 4.706 GB, free: 18.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/13.61, allocations: 139.6 kB / 4.706 GB, free: 18.25 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/13.61, allocations: 68.86 kB / 4.706 GB, free: 18.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.729e-05/13.61, allocations: 31.98 kB / 4.706 GB, free: 18.15 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001458/13.61, allocations: 1.026 MB / 4.707 GB, free: 17.14 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.31e-07/13.61, allocations: 0 / 4.707 GB, free: 17.14 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004298/13.61, allocations: 1.276 MB / 4.708 GB, free: 15.86 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008201/13.62, allocations: 6.058 MB / 4.714 GB, free: 9.938 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003233/13.62, allocations: 1.676 MB / 4.716 GB, free: 8.242 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/13.62, allocations: 4 kB / 4.716 GB, free: 8.238 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001011/13.62, allocations: 0.5793 MB / 4.716 GB, free: 7.648 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003551/13.63, allocations: 0.7583 MB / 4.717 GB, free: 6.902 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/13.64, allocations: 11.28 MB / 4.728 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001173/13.64, allocations: 1.53 MB / 4.729 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002334/13.64, allocations: 452.5 kB / 4.73 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001063/13.64, allocations: 0.7687 MB / 4.731 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of SimCode: time 1.032e-06/13.64, allocations: 7.938 kB / 4.731 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6616/14.3, allocations: 86.33 MB / 4.815 GB, free: 75.8 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001971/14.31, allocations: 234.2 kB / 4.815 GB, free: 75.57 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.516/19.82, allocations: 3.594 kB / 4.815 GB, free: 75.57 MB / 0.7448 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_AirHeater_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_AirHeater_T.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)