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/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: "" <> 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 99.7 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.001989/0.001989, allocations: 177.3 kB / 15.94 MB, free: 228 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.726/2.726, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 2.02/2.02, allocations: 135.2 MB / 426.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000637/0.0006373, allocations: 8 kB / 0.5069 GB, free: 5.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3101, allocations: 82.3 MB / 0.5873 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T): time 1.118/1.428, allocations: 193.8 MB / 0.7765 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.04566/1.474, allocations: 14.78 MB / 0.791 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007528/1.482, allocations: 71.56 kB / 0.791 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.009027/1.491, allocations: 1.138 MB / 0.7921 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0224/1.513, allocations: 3.296 MB / 0.7954 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0141/1.527, allocations: 2.117 MB / 0.7974 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01288/1.54, allocations: 2.917 MB / 0.8003 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006274/1.547, allocations: 1.399 MB / 0.8016 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01054/1.557, allocations: 1.916 MB / 0.8035 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004398/1.562, allocations: 1.058 MB / 0.8045 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001264/1.563, allocations: 84 kB / 0.8046 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009997/1.573, allocations: 1.782 MB / 0.8064 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.002227/1.576, allocations: 0.5723 MB / 0.8069 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001977/1.578, allocations: 460.5 kB / 0.8074 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.009194/1.587, allocations: 2.83 MB / 0.8101 GB, free: 8.188 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/1.587, allocations: 0 / 0.8101 GB, free: 8.188 MB / 0.6231 GB Notification: Performance of FrontEnd: time 5.41e-06/1.587, allocations: 0 / 0.8101 GB, free: 8.188 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001655/1.587, allocations: 0 / 0.8101 GB, free: 8.188 MB / 0.6231 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.01116/1.598, allocations: 2.412 MB / 0.8125 GB, free: 5.711 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 7.353e-05/1.598, allocations: 8.031 kB / 0.8125 GB, free: 5.703 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000907/1.599, allocations: 198.3 kB / 0.8127 GB, free: 5.5 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01004/1.609, allocations: 0.8166 MB / 0.8135 GB, free: 4.68 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00846/1.618, allocations: 1.615 MB / 0.8151 GB, free: 3.016 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008265/1.619, allocations: 167.4 kB / 0.8152 GB, free: 2.852 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009359/1.62, allocations: 148 kB / 0.8154 GB, free: 2.707 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008447/1.628, allocations: 1.645 MB / 0.817 GB, free: 0.9922 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.551e-05/1.628, allocations: 7.844 kB / 0.817 GB, free: 0.9844 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005417/1.629, allocations: 55.98 kB / 0.817 GB, free: 0.9297 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00014/1.629, allocations: 58.47 kB / 0.8171 GB, free: 0.8711 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007671/1.637, allocations: 1.478 MB / 0.8185 GB, free: 15.39 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.02451/1.662, allocations: 7.688 MB / 0.826 GB, free: 7.121 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005901/1.667, allocations: 1.662 MB / 0.8277 GB, free: 5.328 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00202/1.67, allocations: 0.6482 MB / 0.8283 GB, free: 4.57 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002628/1.672, allocations: 0.5673 MB / 0.8288 GB, free: 3.992 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001798/1.674, allocations: 119.2 kB / 0.829 GB, free: 3.875 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=85): time 9.868e-06/1.674, allocations: 3.938 kB / 0.829 GB, free: 3.871 MB / 0.6387 GB Notification: Performance of matching and sorting (n=85): time 0.00806/1.682, allocations: 1.672 MB / 0.8306 GB, free: 2.176 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.718e-05/1.682, allocations: 60.41 kB / 0.8306 GB, free: 2.105 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005266/1.688, allocations: 1.58 MB / 0.8322 GB, free: 496 kB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0004732/1.688, allocations: 53.64 kB / 0.8322 GB, free: 436 kB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001633/1.69, allocations: 0.9127 MB / 0.8331 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006862/1.691, allocations: 299.6 kB / 0.8334 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002159/1.691, allocations: 23.98 kB / 0.8334 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002304/1.691, allocations: 349.9 kB / 0.8338 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001974/1.693, allocations: 446.4 kB / 0.8342 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00242/1.696, allocations: 0.785 MB / 0.835 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002305/1.698, allocations: 0.5511 MB / 0.8355 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.646e-05/1.698, allocations: 0 / 0.8355 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.006053/1.704, allocations: 1.43 MB / 0.8369 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.002119/1.706, allocations: 3.308 MB / 0.8401 GB, free: 7.898 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-05/1.706, allocations: 8 kB / 0.8401 GB, free: 7.891 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.158e-05/1.706, allocations: 15.94 kB / 0.8402 GB, free: 7.875 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002275/1.709, allocations: 283.6 kB / 0.8404 GB, free: 7.598 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.403e-05/1.709, allocations: 19.92 kB / 0.8404 GB, free: 7.578 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003678/1.712, allocations: 171.3 kB / 0.8406 GB, free: 7.414 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002987/1.713, allocations: 51.98 kB / 0.8407 GB, free: 7.363 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/1.713, allocations: 4 kB / 0.8407 GB, free: 7.359 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005395/1.718, allocations: 1.247 MB / 0.8419 GB, free: 6.105 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.913e-05/1.718, allocations: 8 kB / 0.8419 GB, free: 6.098 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.967e-05/1.718, allocations: 16.75 kB / 0.8419 GB, free: 6.082 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002128/1.72, allocations: 287.6 kB / 0.8422 GB, free: 5.801 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.492e-05/1.721, allocations: 15.94 kB / 0.8422 GB, free: 5.785 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003445/1.724, allocations: 169.3 kB / 0.8424 GB, free: 5.621 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002419/1.724, allocations: 51.98 kB / 0.8424 GB, free: 5.57 MB / 0.6544 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.002005/1.726, allocations: 0.5358 MB / 0.8429 GB, free: 5.023 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008593/1.727, allocations: 177.8 kB / 0.8431 GB, free: 4.848 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005371/1.733, allocations: 1.221 MB / 0.8443 GB, free: 3.617 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-05/1.733, allocations: 8 kB / 0.8443 GB, free: 3.609 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.465e-05/1.733, allocations: 0 / 0.8443 GB, free: 3.609 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004271/1.737, allocations: 1.274 MB / 0.8455 GB, free: 2.246 MB / 0.6544 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.01229/1.749, allocations: 3.041 MB / 0.8485 GB, free: 15.07 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/1.749, allocations: 0 / 0.8485 GB, free: 15.07 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001709/1.751, allocations: 207.9 kB / 0.8487 GB, free: 14.87 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004491/1.752, allocations: 40.83 kB / 0.8487 GB, free: 14.82 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000156/1.752, allocations: 23.98 kB / 0.8488 GB, free: 14.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00252/1.754, allocations: 1.442 MB / 0.8502 GB, free: 13.23 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.375e-05/1.754, allocations: 7.922 kB / 0.8502 GB, free: 13.22 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00746/1.762, allocations: 1.897 MB / 0.852 GB, free: 11.25 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00237/1.764, allocations: 358.5 kB / 0.8524 GB, free: 10.88 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008805/1.765, allocations: 20 kB / 0.8524 GB, free: 10.86 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003581/1.769, allocations: 155.8 kB / 0.8525 GB, free: 10.71 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003759/1.769, allocations: 64.91 kB / 0.8526 GB, free: 10.64 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002274/1.77, allocations: 31.92 kB / 0.8526 GB, free: 10.61 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00422/1.774, allocations: 1.069 MB / 0.8537 GB, free: 9.516 MB / 0.67 GB Notification: Performance of sort global known variables: time 5.71e-07/1.774, allocations: 0 / 0.8537 GB, free: 9.516 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.007115/1.781, allocations: 0.9702 MB / 0.8546 GB, free: 8.543 MB / 0.67 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.01123/1.792, allocations: 3.218 MB / 0.8578 GB, free: 5.438 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.007342/1.8, allocations: 1.82 MB / 0.8596 GB, free: 3.598 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.387e-05/1.8, allocations: 0 / 0.8596 GB, free: 3.598 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00264/1.802, allocations: 0.6343 MB / 0.8602 GB, free: 2.953 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008293/1.811, allocations: 0.7852 MB / 0.8609 GB, free: 2.168 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6149/2.426, allocations: 11.14 MB / 0.8718 GB, free: 206.8 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002775/2.429, allocations: 1.524 MB / 0.8733 GB, free: 206 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.004512/2.433, allocations: 443.5 kB / 0.8737 GB, free: 206 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002852/2.436, allocations: 0.7726 MB / 0.8745 GB, free: 206 MB / 0.67 GB Notification: Performance of SimCode: time 3.116e-06/2.436, allocations: 0 / 0.8745 GB, free: 206 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2249/2.661, allocations: 46.21 MB / 0.9196 GB, free: 195.8 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005277/2.662, allocations: 237.2 kB / 0.9198 GB, free: 195.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.371/9.033, allocations: 4 kB / 0.9198 GB, free: 195.6 MB / 0.67 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) Environment - environmentSimulation: