Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.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_u,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_Examples_AirHeater_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_Examples_AirHeater_u",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.009366/0.009366, allocations: 170.5 kB / 15.11 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7786/0.7786, allocations: 135.2 MB / 151 MB, free: 13.82 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.503/1.503, allocations: 223.2 MB / 406.8 MB, free: 3.23 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.0009561/0.0009561, allocations: 92.2 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005707/0.0005707, allocations: 8 kB / 0.5691 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.431/0.4316, allocations: 82.31 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.25/4.682, allocations: 1.917 GB / 2.566 GB, free: 56.23 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000249/4.682, allocations: 104.7 kB / 2.566 GB, free: 56.13 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.608/12.29, allocations: 2.004 GB / 4.57 GB, free: 76.11 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.914e-06/12.29, allocations: 0 / 4.57 GB, free: 76.11 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0002393/12.29, allocations: 63.36 kB / 4.57 GB, free: 76.11 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: 377 * Number of variables: 377 Notification: Performance of Generate backend data structure: time 0.008778/12.3, allocations: 3.088 MB / 4.573 GB, free: 74.97 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/12.3, allocations: 8.219 kB / 4.573 GB, free: 74.97 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005606/12.3, allocations: 221.7 kB / 4.573 GB, free: 74.93 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005307/12.3, allocations: 0.798 MB / 4.574 GB, free: 74.79 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006241/12.31, allocations: 2.345 MB / 4.576 GB, free: 74.41 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-05/12.31, allocations: 123.7 kB / 4.576 GB, free: 74.41 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002813/12.31, allocations: 163.1 kB / 4.577 GB, free: 74.41 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003125/12.31, allocations: 1.758 MB / 4.578 GB, free: 74.2 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.531e-05/12.31, allocations: 0 / 4.578 GB, free: 74.2 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001536/12.31, allocations: 66.14 kB / 4.578 GB, free: 74.2 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-05/12.31, allocations: 57.67 kB / 4.578 GB, free: 74.19 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002688/12.32, allocations: 1.452 MB / 4.58 GB, free: 74.18 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.01111/12.33, allocations: 8.113 MB / 4.588 GB, free: 70.29 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002087/12.33, allocations: 1.725 MB / 4.59 GB, free: 69.51 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000446/12.33, allocations: 213.5 kB / 4.59 GB, free: 69.32 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001109/12.33, allocations: 0.6438 MB / 4.59 GB, free: 69.27 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001147/12.33, allocations: 118.7 kB / 4.59 GB, free: 69.23 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=104): time 4.398e-06/12.33, allocations: 0 / 4.59 GB, free: 69.23 MB / 0.7292 GB Notification: Performance of matching and sorting (n=107): time 0.007529/12.34, allocations: 3.491 MB / 4.594 GB, free: 68.42 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/12.34, allocations: 120.7 kB / 4.594 GB, free: 68.29 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001811/12.34, allocations: 1.317 MB / 4.595 GB, free: 68.08 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001182/12.34, allocations: 57.92 kB / 4.595 GB, free: 68.05 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007705/12.34, allocations: 0.9457 MB / 4.596 GB, free: 67.73 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000269/12.34, allocations: 380.8 kB / 4.597 GB, free: 67.49 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.524e-05/12.34, allocations: 24.25 kB / 4.597 GB, free: 67.49 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.789e-05/12.34, allocations: 354.6 kB / 4.597 GB, free: 67.18 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000886/12.35, allocations: 490.5 kB / 4.597 GB, free: 67.18 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001077/12.35, allocations: 0.8297 MB / 4.598 GB, free: 66.79 MB / 0.7292 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (hea.vol.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.009318/12.36, allocations: 2.285 MB / 4.6 GB, free: 66.61 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.808e-06/12.36, allocations: 3.625 kB / 4.6 GB, free: 66.61 MB / 0.7292 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.00309/12.36, allocations: 1.554 MB / 4.602 GB, free: 66.42 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007233/12.36, allocations: 2.958 MB / 4.605 GB, free: 63.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/12.36, allocations: 7.094 kB / 4.605 GB, free: 63.35 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002061/12.36, allocations: 52.08 kB / 4.605 GB, free: 63.34 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/12.36, allocations: 283.4 kB / 4.605 GB, free: 63.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001238/12.36, allocations: 1.59 MB / 4.607 GB, free: 62.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002551/12.36, allocations: 159 kB / 4.607 GB, free: 62 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001372/12.36, allocations: 58.33 kB / 4.607 GB, free: 62 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/12.36, allocations: 5.516 kB / 4.607 GB, free: 62 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002651/12.37, allocations: 1.368 MB / 4.608 GB, free: 61.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-05/12.37, allocations: 10.16 kB / 4.608 GB, free: 61.94 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001418/12.37, allocations: 57.42 kB / 4.608 GB, free: 61.93 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/12.37, allocations: 278.4 kB / 4.609 GB, free: 61.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001111/12.37, allocations: 1.583 MB / 4.61 GB, free: 60.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002341/12.37, allocations: 160.5 kB / 4.61 GB, free: 60.59 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001479/12.37, allocations: 54.14 kB / 4.61 GB, free: 60.59 MB / 0.7292 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (146): * Single equations (assignments): 143 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001536/12.37, allocations: 0.5847 MB / 4.611 GB, free: 60.4 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005556/12.37, allocations: 196.3 kB / 4.611 GB, free: 60.3 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003228/12.38, allocations: 1.388 MB / 4.613 GB, free: 60.19 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/12.38, allocations: 9.969 kB / 4.613 GB, free: 60.19 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/12.38, allocations: 1.438 kB / 4.613 GB, free: 60.19 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002128/12.38, allocations: 1.12 MB / 4.614 GB, free: 60.08 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.008375/12.39, allocations: 3.472 MB / 4.617 GB, free: 59.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/12.39, allocations: 6.922 kB / 4.617 GB, free: 59.47 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/12.39, allocations: 234.3 kB / 4.617 GB, free: 59.47 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002592/12.39, allocations: 73.89 kB / 4.617 GB, free: 59.45 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.947e-05/12.39, allocations: 29.92 kB / 4.617 GB, free: 59.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002047/12.39, allocations: 2.937 MB / 4.62 GB, free: 56.86 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/12.39, allocations: 3.656 kB / 4.62 GB, free: 56.86 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003926/12.4, allocations: 2.159 MB / 4.622 GB, free: 56.44 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001377/12.4, allocations: 373.5 kB / 4.623 GB, free: 56.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005491/12.4, allocations: 27.34 kB / 4.623 GB, free: 56.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001923/12.4, allocations: 154 kB / 4.623 GB, free: 56.23 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001873/12.4, allocations: 81.14 kB / 4.623 GB, free: 56.23 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001058/12.4, allocations: 34.55 kB / 4.623 GB, free: 56.23 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002283/12.4, allocations: 1.022 MB / 4.624 GB, free: 56.09 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/12.4, allocations: 0 / 4.624 GB, free: 56.09 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.006011/12.41, allocations: 1.256 MB / 4.625 GB, free: 56.04 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 9 (vol.dynBal.U,vol.dynBal.mXi[1],mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U,hea.vol.dynBal.m,hea.vol.dynBal.mXi[1]) * 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 (104): * Single equations (assignments): 100 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01021/12.42, allocations: 6.305 MB / 4.631 GB, free: 53.58 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00512/12.42, allocations: 2.27 MB / 4.634 GB, free: 53.21 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/12.42, allocations: 0 / 4.634 GB, free: 53.21 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001535/12.43, allocations: 0.8304 MB / 4.634 GB, free: 52.98 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006224/12.43, allocations: 0.9421 MB / 4.635 GB, free: 52.96 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01681/12.45, allocations: 11.09 MB / 4.646 GB, free: 45.07 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003509/12.45, allocations: 1.626 MB / 4.648 GB, free: 60.34 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.00322/12.46, allocations: 0.5063 MB / 4.648 GB, free: 60.32 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001501/12.46, allocations: 0.8342 MB / 4.649 GB, free: 60.31 MB / 0.7448 GB Notification: Performance of SimCode: time 1.002e-06/12.46, allocations: 2.281 kB / 4.649 GB, free: 60.31 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1575/12.61, allocations: 94 MB / 4.741 GB, free: 29.55 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001925/12.61, allocations: 228.7 kB / 4.741 GB, free: 29.31 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.404/18.02, allocations: 0 / 4.741 GB, free: 29.31 MB / 0.7448 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_Examples_AirHeater_u_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_Examples_AirHeater_u.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)