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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7145/0.7145, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.583/1.583, allocations: 221.3 MB / 400.4 MB, free: 5.809 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 97.31 kB / 483.3 MB, free: 5.832 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.749e-05/3.762e-05, allocations: 2.969 kB / 0.5601 GB, free: 87.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.184, allocations: 82.31 MB / 0.6405 GB, free: 7.746 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.411/5.595, allocations: 1.923 GB / 2.564 GB, free: 201 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/5.595, allocations: 92.78 kB / 2.564 GB, free: 201 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.947/13.54, allocations: 2.089 GB / 4.653 GB, free: 17.12 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.483e-06/13.54, allocations: 4 kB / 4.653 GB, free: 17.11 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0004075/13.54, allocations: 59.92 kB / 4.653 GB, free: 17.05 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.008656/13.55, allocations: 2.394 MB / 4.656 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.581e-05/13.55, allocations: 8.031 kB / 4.656 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008775/13.55, allocations: 202.3 kB / 4.656 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00579/13.56, allocations: 0.7815 MB / 4.657 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007296/13.57, allocations: 2.184 MB / 4.659 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000131/13.57, allocations: 106.6 kB / 4.659 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005303/13.57, allocations: 144 kB / 4.659 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003584/13.57, allocations: 1.48 MB / 4.66 GB, free: 9.559 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.189e-05/13.57, allocations: 4 kB / 4.66 GB, free: 9.555 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001903/13.57, allocations: 56 kB / 4.661 GB, free: 9.5 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.793e-05/13.57, allocations: 54.5 kB / 4.661 GB, free: 9.445 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00223/13.57, allocations: 1.134 MB / 4.662 GB, free: 8.305 MB / 0.7292 GB Warning: The model contains alias variables with conflicting start and/or 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.01122/13.58, allocations: 7.44 MB / 4.669 GB, free: 300 kB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001709/13.59, allocations: 1.349 MB / 4.67 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007685/13.59, allocations: 441.3 kB / 4.671 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001259/13.59, allocations: 0.7553 MB / 4.671 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008702/13.59, allocations: 474 kB / 4.672 GB, free: 13 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001183/13.59, allocations: 127.2 kB / 4.672 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=86): time 4.489e-06/13.59, allocations: 0 / 4.672 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of matching and sorting (n=86): time 0.002428/13.59, allocations: 0.9327 MB / 4.673 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.954e-05/13.59, allocations: 115.6 kB / 4.673 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003293/13.6, allocations: 1.324 MB / 4.674 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001517/13.6, allocations: 45.7 kB / 4.674 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001273/13.6, allocations: 0.9242 MB / 4.675 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003955/13.6, allocations: 299.6 kB / 4.676 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.737e-05/13.6, allocations: 20 kB / 4.676 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002016/13.6, allocations: 353.9 kB / 4.676 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006897/13.6, allocations: 334.6 kB / 4.676 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001127/13.6, allocations: 0.6954 MB / 4.677 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009951/13.6, allocations: 461.9 kB / 4.677 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.27e-05/13.6, allocations: 8 kB / 4.677 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002488/13.6, allocations: 1.202 MB / 4.679 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.001517/13.6, allocations: 3.396 MB / 4.682 GB, free: 2.293 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.439e-05/13.6, allocations: 11.95 kB / 4.682 GB, free: 2.281 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.523e-05/13.6, allocations: 12 kB / 4.682 GB, free: 2.27 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/13.61, allocations: 259.6 kB / 4.682 GB, free: 2.016 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.8e-05/13.61, allocations: 19.94 kB / 4.682 GB, free: 1.996 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001846/13.61, allocations: 143.8 kB / 4.682 GB, free: 1.855 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000139/13.61, allocations: 51.98 kB / 4.682 GB, free: 1.805 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/13.61, allocations: 4 kB / 4.682 GB, free: 1.801 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00187/13.61, allocations: 1.035 MB / 4.683 GB, free: 0.7578 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.222e-05/13.61, allocations: 8 kB / 4.683 GB, free: 0.75 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.948e-05/13.61, allocations: 16 kB / 4.683 GB, free: 0.7344 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/13.61, allocations: 255.6 kB / 4.684 GB, free: 496 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.563e-05/13.61, allocations: 20.16 kB / 4.684 GB, free: 476 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001785/13.61, allocations: 147.7 kB / 4.684 GB, free: 328 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001391/13.61, allocations: 51.98 kB / 4.684 GB, free: 276 kB / 0.7448 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 () * 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.0003436/13.61, allocations: 181.7 kB / 4.684 GB, free: 88 kB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.6806/14.29, allocations: 174.4 kB / 4.684 GB, free: 77.71 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002817/14.3, allocations: 1.001 MB / 4.685 GB, free: 77.65 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/14.3, allocations: 8.969 kB / 4.685 GB, free: 77.65 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/14.3, allocations: 0 / 4.685 GB, free: 77.65 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001432/14.3, allocations: 1.065 MB / 4.686 GB, free: 77.2 MB / 0.7448 GB Warning: The model contains alias variables with conflicting start and/or 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.005818/14.3, allocations: 2.722 MB / 4.689 GB, free: 76.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/14.3, allocations: 1.344 kB / 4.689 GB, free: 76.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009084/14.3, allocations: 178.8 kB / 4.689 GB, free: 76.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00022/14.31, allocations: 46.73 kB / 4.689 GB, free: 76.67 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.037e-05/14.31, allocations: 26.83 kB / 4.689 GB, free: 76.67 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001065/14.31, allocations: 1.415 MB / 4.69 GB, free: 75.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/14.31, allocations: 6.484 kB / 4.69 GB, free: 75.43 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002776/14.31, allocations: 1.569 MB / 4.692 GB, free: 75.14 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009396/14.31, allocations: 335.7 kB / 4.692 GB, free: 75.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001966/14.31, allocations: 21.53 kB / 4.692 GB, free: 75.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/14.31, allocations: 140.5 kB / 4.692 GB, free: 75.03 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001687/14.31, allocations: 67.44 kB / 4.693 GB, free: 75.03 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.123e-05/14.31, allocations: 34.5 kB / 4.693 GB, free: 75.03 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.002102/14.31, allocations: 1.011 MB / 4.694 GB, free: 74.91 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.994e-06/14.31, allocations: 3.875 kB / 4.694 GB, free: 74.91 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.006109/14.32, allocations: 1.274 MB / 4.695 GB, free: 74.85 MB / 0.7448 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) * 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.00956/14.33, allocations: 5.832 MB / 4.701 GB, free: 72.5 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002795/14.33, allocations: 1.556 MB / 4.702 GB, free: 72.34 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/14.33, allocations: 3.938 kB / 4.702 GB, free: 72.34 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0009482/14.33, allocations: 0.5212 MB / 4.703 GB, free: 72.23 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004689/14.34, allocations: 0.7691 MB / 4.703 GB, free: 72.21 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01327/14.35, allocations: 3.331 MB / 4.707 GB, free: 71.43 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002231/14.35, allocations: 1.53 MB / 4.708 GB, free: 70.7 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.004545/14.36, allocations: 0.6523 MB / 4.709 GB, free: 70.68 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001289/14.36, allocations: 0.7419 MB / 4.709 GB, free: 70.68 MB / 0.7448 GB Notification: Performance of SimCode: time 2.395e-06/14.36, allocations: 2.281 kB / 4.709 GB, free: 70.68 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1585/14.52, allocations: 97.07 MB / 4.804 GB, free: 67.77 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001685/14.52, allocations: 209.6 kB / 4.804 GB, free: 67.54 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.659/20.18, allocations: 0 / 4.804 GB, free: 67.54 MB / 0.7448 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)