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.001552/0.001552, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8037/0.8037, allocations: 133.6 MB / 141.6 MB, free: 2.914 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 221.5 MB / 395.5 MB, free: 10.79 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.0008518/0.0008519, allocations: 92.09 kB / 478.2 MB, free: 1.328 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.333e-05/2.299e-05, allocations: 4 kB / 0.5535 GB, free: 8.977 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5019/0.502, allocations: 82.3 MB / 0.6339 GB, free: 40.67 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.463/4.965, allocations: 1.923 GB / 2.557 GB, free: 114 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002889/4.965, allocations: 103.3 kB / 2.557 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 9.218/14.18, allocations: 2.068 GB / 4.624 GB, free: 79.2 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.322e-06/14.18, allocations: 1.125 kB / 4.624 GB, free: 79.2 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0004439/14.18, allocations: 65.81 kB / 4.624 GB, free: 79.19 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.009127/14.19, allocations: 2.387 MB / 4.627 GB, free: 78.15 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/14.19, allocations: 10.72 kB / 4.627 GB, free: 78.15 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005543/14.2, allocations: 0.778 MB / 4.627 GB, free: 78.03 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00714/14.21, allocations: 2.177 MB / 4.63 GB, free: 77.65 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/14.21, allocations: 47.69 kB / 4.63 GB, free: 77.65 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004962/14.21, allocations: 91.56 kB / 4.63 GB, free: 77.65 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002701/14.21, allocations: 1.073 MB / 4.631 GB, free: 77.64 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002322/14.21, allocations: 1.301 MB / 4.632 GB, free: 77.43 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.406e-05/14.21, allocations: 2.188 kB / 4.632 GB, free: 77.43 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/14.21, allocations: 3.656 kB / 4.632 GB, free: 77.43 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.807e-05/14.21, allocations: 47.27 kB / 4.632 GB, free: 77.43 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.009382/14.22, allocations: 7.205 MB / 4.639 GB, free: 73.61 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/14.22, allocations: 1.343 MB / 4.64 GB, free: 72.92 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005476/14.22, allocations: 428.2 kB / 4.641 GB, free: 72.9 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009802/14.22, allocations: 0.7517 MB / 4.642 GB, free: 72.15 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006414/14.22, allocations: 453.8 kB / 4.642 GB, free: 72.09 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009156/14.22, allocations: 103.1 kB / 4.642 GB, free: 72.07 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=86): time 3.587e-06/14.22, allocations: 0 / 4.642 GB, free: 72.07 MB / 0.7292 GB Notification: Performance of matching and sorting (n=86): time 0.005575/14.23, allocations: 1.509 MB / 4.644 GB, free: 71.91 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.11e-05/14.23, allocations: 118.1 kB / 4.644 GB, free: 71.79 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002461/14.23, allocations: 1.215 MB / 4.645 GB, free: 71.61 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001422/14.23, allocations: 26.92 kB / 4.645 GB, free: 71.58 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009414/14.23, allocations: 0.918 MB / 4.646 GB, free: 71.26 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003105/14.23, allocations: 290.7 kB / 4.646 GB, free: 71.07 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.177e-05/14.23, allocations: 1.062 kB / 4.646 GB, free: 71.07 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001076/14.23, allocations: 347.9 kB / 4.646 GB, free: 70.77 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005276/14.23, allocations: 323.2 kB / 4.647 GB, free: 70.77 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006984/14.24, allocations: 0.6774 MB / 4.647 GB, free: 70.35 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00408/14.24, allocations: 1.011 MB / 4.648 GB, free: 70.34 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/14.24, allocations: 0 / 4.648 GB, free: 70.34 MB / 0.7292 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.005343/14.25, allocations: 1.699 MB / 4.65 GB, free: 70.2 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006998/14.25, allocations: 3.393 MB / 4.653 GB, free: 66.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/14.25, allocations: 7.75 kB / 4.653 GB, free: 66.65 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.255e-05/14.25, allocations: 17.38 kB / 4.653 GB, free: 66.65 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/14.25, allocations: 264.2 kB / 4.654 GB, free: 66.65 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.776e-05/14.25, allocations: 18.62 kB / 4.654 GB, free: 66.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001778/14.25, allocations: 122.5 kB / 4.654 GB, free: 66.64 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/14.25, allocations: 52.7 kB / 4.654 GB, free: 66.64 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/14.25, allocations: 10.48 kB / 4.654 GB, free: 66.64 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004594/14.25, allocations: 1.471 MB / 4.655 GB, free: 66.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/14.25, allocations: 7.812 kB / 4.655 GB, free: 66.62 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/14.25, allocations: 17.78 kB / 4.655 GB, free: 66.62 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000973/14.25, allocations: 257.2 kB / 4.655 GB, free: 66.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.521e-05/14.25, allocations: 19.16 kB / 4.655 GB, free: 66.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001602/14.26, allocations: 125.1 kB / 4.656 GB, free: 66.62 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.773e-05/14.26, allocations: 52.05 kB / 4.656 GB, free: 66.61 MB / 0.7292 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.0002432/14.26, allocations: 143.5 kB / 4.656 GB, free: 66.5 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004634/14.26, allocations: 1.432 MB / 4.657 GB, free: 66.36 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001942/14.26, allocations: 184.8 kB / 4.657 GB, free: 66.26 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005018/14.27, allocations: 1.527 MB / 4.659 GB, free: 66.16 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/14.27, allocations: 7.875 kB / 4.659 GB, free: 66.16 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/14.27, allocations: 5.281 kB / 4.659 GB, free: 66.16 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004296/14.27, allocations: 1.609 MB / 4.66 GB, free: 65.7 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 postOpt removeSimpleEquations (simulation): time 0.008042/14.28, allocations: 3.113 MB / 4.663 GB, free: 65.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/14.28, allocations: 3.062 kB / 4.663 GB, free: 65.18 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008604/14.28, allocations: 183.7 kB / 4.664 GB, free: 65.18 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000217/14.28, allocations: 45.5 kB / 4.664 GB, free: 65.17 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.609e-05/14.28, allocations: 23.52 kB / 4.664 GB, free: 65.17 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001197/14.28, allocations: 1.378 MB / 4.665 GB, free: 63.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/14.28, allocations: 3.719 kB / 4.665 GB, free: 63.98 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00545/14.29, allocations: 2.119 MB / 4.667 GB, free: 63.59 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007316/14.29, allocations: 338.7 kB / 4.667 GB, free: 63.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001993/14.29, allocations: 3.969 kB / 4.667 GB, free: 63.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/14.29, allocations: 122.1 kB / 4.668 GB, free: 63.41 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/14.29, allocations: 61.86 kB / 4.668 GB, free: 63.41 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.421e-05/14.29, allocations: 29.72 kB / 4.668 GB, free: 63.41 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001301/14.29, allocations: 0.9104 MB / 4.669 GB, free: 63.3 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.022e-06/14.29, allocations: 0 / 4.669 GB, free: 63.3 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004057/14.29, allocations: 1.16 MB / 4.67 GB, free: 63.13 MB / 0.7292 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.01101/14.31, allocations: 6.522 MB / 4.676 GB, free: 60.7 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002514/14.31, allocations: 1.481 MB / 4.678 GB, free: 60.54 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/14.31, allocations: 0 / 4.678 GB, free: 60.54 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.00074/14.31, allocations: 0.4992 MB / 4.678 GB, free: 60.44 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003769/14.31, allocations: 0.7373 MB / 4.679 GB, free: 60.41 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00731/14.32, allocations: 3.256 MB / 4.682 GB, free: 59.55 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009267/14.32, allocations: 1.536 MB / 4.683 GB, free: 58.82 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002876/14.32, allocations: 0.6522 MB / 4.684 GB, free: 58.8 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008488/14.32, allocations: 0.7344 MB / 4.685 GB, free: 58.8 MB / 0.7292 GB Notification: Performance of SimCode: time 1.242e-06/14.32, allocations: 0 / 4.685 GB, free: 58.8 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1193/14.44, allocations: 66.93 MB / 4.75 GB, free: 39.07 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001765/14.44, allocations: 159.7 kB / 4.75 GB, free: 38.88 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.471/18.91, allocations: 4 kB / 4.75 GB, free: 38.88 MB / 0.7292 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)