Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_HeatExchangers_Examples_AirHeater_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u,fileNamePrefix="IDEAS_dev_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.005739/0.005739, allocations: 169.5 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.8117/0.8117, allocations: 135.2 MB / 151 MB, free: 13.81 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.656/1.656, allocations: 223.2 MB / 406.8 MB, free: 3.211 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.0009817/0.0009817, allocations: 93.33 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003921/0.0003919, allocations: 8 kB / 0.5691 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.471/0.4715, allocations: 82.3 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.078/5.55, allocations: 1.917 GB / 2.566 GB, free: 18.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002534/5.55, allocations: 105.4 kB / 2.566 GB, free: 18.44 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.417/13.97, allocations: 2.004 GB / 4.57 GB, free: 79.97 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.104e-06/13.97, allocations: 0 / 4.57 GB, free: 79.97 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.000337/13.97, allocations: 56.72 kB / 4.57 GB, free: 79.96 MB / 0.7448 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.008792/13.98, allocations: 3.096 MB / 4.573 GB, free: 78.71 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/13.98, allocations: 12.88 kB / 4.573 GB, free: 78.71 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007254/13.98, allocations: 216.7 kB / 4.573 GB, free: 78.67 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005218/13.98, allocations: 0.7966 MB / 4.574 GB, free: 78.53 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006208/13.99, allocations: 2.35 MB / 4.576 GB, free: 78.09 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001096/13.99, allocations: 118.4 kB / 4.576 GB, free: 78.08 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004381/13.99, allocations: 164.6 kB / 4.577 GB, free: 78.08 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003254/13.99, allocations: 1.754 MB / 4.578 GB, free: 77.88 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.53e-05/13.99, allocations: 3.75 kB / 4.578 GB, free: 77.88 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001692/13.99, allocations: 63.41 kB / 4.578 GB, free: 77.88 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-05/13.99, allocations: 57.86 kB / 4.578 GB, free: 77.87 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002646/14, allocations: 1.453 MB / 4.58 GB, free: 77.86 MB / 0.7448 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.01005/14.01, allocations: 8.106 MB / 4.588 GB, free: 73.96 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001823/14.01, allocations: 1.73 MB / 4.59 GB, free: 73.18 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003854/14.01, allocations: 209.6 kB / 4.59 GB, free: 72.99 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001006/14.01, allocations: 0.6414 MB / 4.59 GB, free: 72.93 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008544/14.01, allocations: 115.3 kB / 4.59 GB, free: 72.9 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=104): time 2.975e-06/14.01, allocations: 0 / 4.59 GB, free: 72.9 MB / 0.7448 GB Notification: Performance of matching and sorting (n=107): time 0.006466/14.02, allocations: 3.494 MB / 4.594 GB, free: 72.08 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/14.02, allocations: 117.3 kB / 4.594 GB, free: 71.96 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001512/14.02, allocations: 1.323 MB / 4.595 GB, free: 71.75 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.748e-05/14.02, allocations: 50.14 kB / 4.595 GB, free: 71.71 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006361/14.02, allocations: 0.9526 MB / 4.596 GB, free: 71.39 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.000225/14.02, allocations: 374.3 kB / 4.597 GB, free: 71.16 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.012e-05/14.02, allocations: 24.09 kB / 4.597 GB, free: 71.16 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.087e-05/14.02, allocations: 351.9 kB / 4.597 GB, free: 70.85 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008072/14.02, allocations: 491 kB / 4.597 GB, free: 70.85 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009548/14.02, allocations: 0.8264 MB / 4.598 GB, free: 70.46 MB / 0.7448 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.008482/14.03, allocations: 2.294 MB / 4.6 GB, free: 70.28 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/14.03, allocations: 3.875 kB / 4.6 GB, free: 70.28 MB / 0.7448 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.002687/14.03, allocations: 1.561 MB / 4.602 GB, free: 70.09 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005938/14.03, allocations: 2.95 MB / 4.605 GB, free: 67.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/14.03, allocations: 10.94 kB / 4.605 GB, free: 67.02 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001688/14.03, allocations: 51.77 kB / 4.605 GB, free: 67.01 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/14.03, allocations: 278.6 kB / 4.605 GB, free: 67.01 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001057/14.03, allocations: 1.591 MB / 4.607 GB, free: 65.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001904/14.04, allocations: 161.3 kB / 4.607 GB, free: 65.67 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/14.04, allocations: 59.41 kB / 4.607 GB, free: 65.67 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.103e-06/14.04, allocations: 3.594 kB / 4.607 GB, free: 65.67 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002274/14.04, allocations: 1.369 MB / 4.608 GB, free: 65.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/14.04, allocations: 14.44 kB / 4.608 GB, free: 65.6 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001116/14.04, allocations: 50.7 kB / 4.608 GB, free: 65.59 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/14.04, allocations: 283.1 kB / 4.609 GB, free: 65.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009374/14.04, allocations: 1.58 MB / 4.61 GB, free: 64.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001755/14.04, allocations: 157.5 kB / 4.61 GB, free: 64.25 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-05/14.04, allocations: 55.08 kB / 4.61 GB, free: 64.25 MB / 0.7448 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.001285/14.04, allocations: 0.5927 MB / 4.611 GB, free: 64.06 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002407/14.04, allocations: 193.3 kB / 4.611 GB, free: 63.96 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002479/14.05, allocations: 1.381 MB / 4.613 GB, free: 63.86 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/14.05, allocations: 11.19 kB / 4.613 GB, free: 63.86 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/14.05, allocations: 3.688 kB / 4.613 GB, free: 63.86 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001829/14.05, allocations: 1.121 MB / 4.614 GB, free: 63.75 MB / 0.7448 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.005802/14.06, allocations: 3.476 MB / 4.617 GB, free: 63.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/14.06, allocations: 0 / 4.617 GB, free: 63.13 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/14.06, allocations: 229.1 kB / 4.617 GB, free: 63.13 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002184/14.06, allocations: 81.52 kB / 4.617 GB, free: 63.11 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.625e-05/14.06, allocations: 34.08 kB / 4.617 GB, free: 63.11 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001687/14.06, allocations: 2.939 MB / 4.62 GB, free: 60.53 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/14.06, allocations: 3.594 kB / 4.62 GB, free: 60.53 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003082/14.06, allocations: 2.154 MB / 4.622 GB, free: 60.11 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007785/14.06, allocations: 375.8 kB / 4.623 GB, free: 59.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002791/14.06, allocations: 29.41 kB / 4.623 GB, free: 59.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001434/14.06, allocations: 149 kB / 4.623 GB, free: 59.9 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001639/14.06, allocations: 73.12 kB / 4.623 GB, free: 59.9 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.283e-05/14.06, allocations: 50.36 kB / 4.623 GB, free: 59.9 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001474/14.07, allocations: 1.016 MB / 4.624 GB, free: 59.76 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.6e-07/14.07, allocations: 0 / 4.624 GB, free: 59.76 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.004041/14.07, allocations: 1.249 MB / 4.625 GB, free: 59.71 MB / 0.7448 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.007718/14.08, allocations: 6.311 MB / 4.631 GB, free: 57.26 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003601/14.08, allocations: 2.263 MB / 4.634 GB, free: 56.88 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/14.08, allocations: 0 / 4.634 GB, free: 56.88 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001127/14.08, allocations: 0.8343 MB / 4.634 GB, free: 56.66 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003828/14.09, allocations: 0.9485 MB / 4.635 GB, free: 56.63 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01055/14.1, allocations: 11.09 MB / 4.646 GB, free: 48.74 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00112/14.1, allocations: 1.625 MB / 4.648 GB, free: 48 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002208/14.1, allocations: 0.5136 MB / 4.648 GB, free: 47.98 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009064/14.1, allocations: 0.8327 MB / 4.649 GB, free: 47.97 MB / 0.7448 GB Notification: Performance of SimCode: time 8.42e-07/14.1, allocations: 0 / 4.649 GB, free: 47.97 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.448/14.55, allocations: 93.99 MB / 4.741 GB, free: 9.828 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002704/14.55, allocations: 236.4 kB / 4.741 GB, free: 9.586 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.321/19.87, allocations: 3.938 kB / 4.741 GB, free: 9.582 MB / 0.7605 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_AirHeater_u_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_AirHeater_u.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)