Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.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: "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_Examples_AirHeater_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_Examples_AirHeater_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.001815/0.001815, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.183/2.183, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.135/1.135, allocations: 132.3 MB / 423.2 MB, free: 2.203 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005945/0.000595, allocations: 8.594 kB / 0.5033 GB, free: 4.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8422/0.8428, allocations: 81.58 MB / 0.583 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.2957/1.139, allocations: 193.8 MB / 0.7722 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03143/1.17, allocations: 14.77 MB / 0.7867 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005214/1.175, allocations: 67.56 kB / 0.7867 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.007562/1.183, allocations: 1.143 MB / 0.7878 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01554/1.199, allocations: 3.297 MB / 0.7911 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.008915/1.207, allocations: 2.111 MB / 0.7931 GB, free: 8.934 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.008607/1.216, allocations: 2.917 MB / 0.796 GB, free: 6.012 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003399/1.22, allocations: 1.394 MB / 0.7973 GB, free: 4.594 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006751/1.226, allocations: 1.931 MB / 0.7992 GB, free: 2.656 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003056/1.229, allocations: 1.054 MB / 0.8002 GB, free: 1.598 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003856/1.23, allocations: 84 kB / 0.8003 GB, free: 1.516 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006168/1.236, allocations: 1.782 MB / 0.8021 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001023/1.237, allocations: 0.5801 MB / 0.8026 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001276/1.238, allocations: 460.5 kB / 0.8031 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006042/1.244, allocations: 2.821 MB / 0.8058 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/1.244, allocations: 0 / 0.8058 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.755e-06/1.244, allocations: 0 / 0.8058 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.729e-05/1.245, allocations: 0 / 0.8058 GB, free: 11.86 MB / 0.6387 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.006525/1.251, allocations: 2.414 MB / 0.8082 GB, free: 9.383 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/1.251, allocations: 11.97 kB / 0.8082 GB, free: 9.371 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004016/1.252, allocations: 190.3 kB / 0.8084 GB, free: 9.176 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005568/1.257, allocations: 0.8205 MB / 0.8092 GB, free: 8.352 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005361/1.263, allocations: 1.615 MB / 0.8108 GB, free: 6.688 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005589/1.263, allocations: 178.5 kB / 0.8109 GB, free: 6.512 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004332/1.264, allocations: 136 kB / 0.8111 GB, free: 6.379 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004995/1.269, allocations: 1.649 MB / 0.8127 GB, free: 4.66 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.674e-05/1.269, allocations: 7.844 kB / 0.8127 GB, free: 4.652 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002028/1.269, allocations: 59.95 kB / 0.8127 GB, free: 4.594 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.28e-05/1.269, allocations: 50.5 kB / 0.8128 GB, free: 4.543 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005818/1.275, allocations: 1.478 MB / 0.8142 GB, free: 3.059 MB / 0.6387 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.5031/1.778, allocations: 7.68 MB / 0.8217 GB, free: 214.3 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00345/1.781, allocations: 1.671 MB / 0.8234 GB, free: 213.3 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001291/1.783, allocations: 0.6357 MB / 0.824 GB, free: 212.7 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001792/1.785, allocations: 0.5729 MB / 0.8245 GB, free: 212.5 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001352/1.786, allocations: 120.4 kB / 0.8246 GB, free: 212.5 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=85): time 5.46e-06/1.786, allocations: 0.9688 kB / 0.8246 GB, free: 212.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=85): time 0.006888/1.793, allocations: 1.658 MB / 0.8263 GB, free: 211.9 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.153e-05/1.793, allocations: 61.81 kB / 0.8263 GB, free: 211.8 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005411/1.798, allocations: 1.584 MB / 0.8279 GB, free: 211.2 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0004045/1.799, allocations: 47.95 kB / 0.8279 GB, free: 211.2 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001498/1.8, allocations: 0.9154 MB / 0.8288 GB, free: 210.5 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000687/1.801, allocations: 305 kB / 0.8291 GB, free: 210.3 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.992e-05/1.801, allocations: 21.06 kB / 0.8291 GB, free: 210.3 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002275/1.802, allocations: 348.8 kB / 0.8295 GB, free: 209.9 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002065/1.804, allocations: 450.9 kB / 0.8299 GB, free: 209.8 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002147/1.806, allocations: 0.7827 MB / 0.8307 GB, free: 209.3 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002039/1.808, allocations: 0.5536 MB / 0.8312 GB, free: 209 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-05/1.808, allocations: 2.5 kB / 0.8312 GB, free: 209 MB / 0.6387 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.005593/1.813, allocations: 1.438 MB / 0.8326 GB, free: 208.5 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.001033/1.815, allocations: 3.303 MB / 0.8358 GB, free: 205 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-05/1.815, allocations: 8.906 kB / 0.8358 GB, free: 205 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.058e-05/1.815, allocations: 15.27 kB / 0.8358 GB, free: 205 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00216/1.817, allocations: 285.2 kB / 0.8361 GB, free: 205 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.47e-05/1.817, allocations: 21.47 kB / 0.8361 GB, free: 205 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003458/1.82, allocations: 162.8 kB / 0.8363 GB, free: 204.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002453/1.821, allocations: 50.53 kB / 0.8363 GB, free: 204.9 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/1.821, allocations: 4.031 kB / 0.8363 GB, free: 204.9 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004734/1.825, allocations: 1.255 MB / 0.8376 GB, free: 204.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-05/1.826, allocations: 8.188 kB / 0.8376 GB, free: 204.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.231e-05/1.826, allocations: 17.95 kB / 0.8376 GB, free: 204.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001975/1.828, allocations: 280.8 kB / 0.8379 GB, free: 204.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-05/1.828, allocations: 28.58 kB / 0.8379 GB, free: 204.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003362/1.831, allocations: 161 kB / 0.838 GB, free: 204.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002105/1.831, allocations: 53.92 kB / 0.8381 GB, free: 204.4 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (132): * Single equations (assignments): 130 * 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.001893/1.833, allocations: 0.5275 MB / 0.8386 GB, free: 204 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007151/1.834, allocations: 181.7 kB / 0.8388 GB, free: 203.9 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004785/1.839, allocations: 1.216 MB / 0.84 GB, free: 203.5 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.446e-05/1.839, allocations: 12.31 kB / 0.84 GB, free: 203.5 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/1.839, allocations: 0 / 0.84 GB, free: 203.5 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003695/1.842, allocations: 1.272 MB / 0.8412 GB, free: 202.7 MB / 0.6387 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.01037/1.853, allocations: 3.033 MB / 0.8442 GB, free: 200.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.145e-05/1.853, allocations: 1.094 kB / 0.8442 GB, free: 200.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00147/1.854, allocations: 211.9 kB / 0.8444 GB, free: 200.7 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003445/1.855, allocations: 47.97 kB / 0.8444 GB, free: 200.7 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001094/1.855, allocations: 24.23 kB / 0.8445 GB, free: 200.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001696/1.857, allocations: 1.445 MB / 0.8459 GB, free: 199.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/1.857, allocations: 1 kB / 0.8459 GB, free: 199.2 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006556/1.863, allocations: 1.901 MB / 0.8477 GB, free: 198.1 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001749/1.865, allocations: 351.9 kB / 0.8481 GB, free: 197.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003813/1.865, allocations: 21.8 kB / 0.8481 GB, free: 197.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00193/1.867, allocations: 152.9 kB / 0.8482 GB, free: 197.8 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003034/1.868, allocations: 58.14 kB / 0.8483 GB, free: 197.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001665/1.868, allocations: 37.12 kB / 0.8483 GB, free: 197.7 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003797/1.872, allocations: 1.069 MB / 0.8494 GB, free: 197.1 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.5e-07/1.872, allocations: 3.75 kB / 0.8494 GB, free: 197.1 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.006845/1.879, allocations: 0.9774 MB / 0.8503 GB, free: 196.9 MB / 0.6387 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 (85): * Single equations (assignments): 82 * 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.008273/1.887, allocations: 3.206 MB / 0.8535 GB, free: 194.9 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00613/1.893, allocations: 1.832 MB / 0.8552 GB, free: 194.1 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.107e-05/1.893, allocations: 0 / 0.8552 GB, free: 194.1 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002048/1.895, allocations: 0.6337 MB / 0.8559 GB, free: 193.7 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006167/1.901, allocations: 0.7873 MB / 0.8566 GB, free: 193.3 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01719/1.919, allocations: 11.13 MB / 0.8675 GB, free: 182.7 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001461/1.92, allocations: 1.531 MB / 0.869 GB, free: 181.1 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003286/1.924, allocations: 450.5 kB / 0.8694 GB, free: 180.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001553/1.925, allocations: 0.7687 MB / 0.8702 GB, free: 179.9 MB / 0.6387 GB Notification: Performance of SimCode: time 2.495e-06/1.925, allocations: 0 / 0.8702 GB, free: 179.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1179/2.043, allocations: 46.22 MB / 0.9153 GB, free: 134.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002471/2.043, allocations: 241.7 kB / 0.9155 GB, free: 134.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.167/7.211, allocations: 3.938 kB / 0.9156 GB, free: 134.1 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_Examples_AirHeater_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_HeatExchangers_Examples_AirHeater_T.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1) Environment - environmentSimulation: