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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.002202/0.002203, allocations: 175.2 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.7524/0.7524, allocations: 133.4 MB / 146.7 MB, free: 10.77 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.462/1.462, allocations: 221.3 MB / 400.4 MB, free: 5.812 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.000867/0.000867, allocations: 91.89 kB / 483.3 MB, free: 5.859 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.635e-05/4.637e-05, allocations: 3.438 kB / 0.5601 GB, free: 87.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.179, allocations: 82.31 MB / 0.6405 GB, free: 7.719 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.617/4.796, allocations: 1.923 GB / 2.564 GB, free: 3.691 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/4.796, allocations: 91.95 kB / 2.564 GB, free: 3.602 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.676/13.47, allocations: 2.089 GB / 4.653 GB, free: 52.73 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.475e-06/13.47, allocations: 4 kB / 4.653 GB, free: 52.73 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.00044/13.47, allocations: 55.05 kB / 4.653 GB, free: 52.68 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.008583/13.48, allocations: 2.394 MB / 4.656 GB, free: 50.22 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.935e-05/13.48, allocations: 12.03 kB / 4.656 GB, free: 50.21 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007831/13.48, allocations: 194.3 kB / 4.656 GB, free: 50.01 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00574/13.49, allocations: 0.7707 MB / 4.657 GB, free: 49.24 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008276/13.5, allocations: 2.187 MB / 4.659 GB, free: 47 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001571/13.5, allocations: 106.6 kB / 4.659 GB, free: 46.9 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006663/13.5, allocations: 140 kB / 4.659 GB, free: 46.76 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004247/13.5, allocations: 1.488 MB / 4.66 GB, free: 45.2 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.115e-05/13.5, allocations: 3.797 kB / 4.66 GB, free: 45.2 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002637/13.5, allocations: 55.98 kB / 4.661 GB, free: 45.14 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-05/13.5, allocations: 50.52 kB / 4.661 GB, free: 45.09 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002589/13.5, allocations: 1.13 MB / 4.662 GB, free: 43.95 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.01166/13.52, allocations: 7.45 MB / 4.669 GB, free: 35.95 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001418/13.52, allocations: 1.354 MB / 4.67 GB, free: 34.46 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006408/13.52, allocations: 439.6 kB / 4.671 GB, free: 34.03 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001112/13.52, allocations: 0.7475 MB / 4.671 GB, free: 33.14 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000746/13.52, allocations: 482 kB / 4.672 GB, free: 32.65 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001179/13.52, allocations: 127.2 kB / 4.672 GB, free: 32.53 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=86): time 8.676e-06/13.52, allocations: 0 / 4.672 GB, free: 32.53 MB / 0.7292 GB Notification: Performance of matching and sorting (n=86): time 0.002326/13.52, allocations: 0.9289 MB / 4.673 GB, free: 31.58 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.623e-05/13.52, allocations: 115.6 kB / 4.673 GB, free: 31.45 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002702/13.53, allocations: 1.316 MB / 4.674 GB, free: 30.13 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001453/13.53, allocations: 49.7 kB / 4.674 GB, free: 30.08 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009193/13.53, allocations: 0.9164 MB / 4.675 GB, free: 29.15 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002726/13.53, allocations: 307.5 kB / 4.676 GB, free: 28.85 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.293e-05/13.53, allocations: 24 kB / 4.676 GB, free: 28.82 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.784e-05/13.53, allocations: 353.8 kB / 4.676 GB, free: 28.47 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005398/13.53, allocations: 330.6 kB / 4.676 GB, free: 28.15 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007091/13.53, allocations: 0.6993 MB / 4.677 GB, free: 27.29 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000679/13.53, allocations: 468.3 kB / 4.677 GB, free: 26.84 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.203e-06/13.53, allocations: 4 kB / 4.677 GB, free: 26.83 MB / 0.7292 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002075/13.53, allocations: 1.211 MB / 4.679 GB, free: 25.61 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008937/13.53, allocations: 3.379 MB / 4.682 GB, free: 21.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.386e-05/13.53, allocations: 8 kB / 4.682 GB, free: 21.95 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.834e-05/13.53, allocations: 16 kB / 4.682 GB, free: 21.93 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/13.53, allocations: 271.5 kB / 4.682 GB, free: 21.67 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.113e-05/13.53, allocations: 15.98 kB / 4.682 GB, free: 21.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001838/13.54, allocations: 151.3 kB / 4.682 GB, free: 21.51 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001291/13.54, allocations: 47.98 kB / 4.682 GB, free: 21.46 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/13.54, allocations: 4.938 kB / 4.682 GB, free: 21.46 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001529/13.54, allocations: 1.027 MB / 4.683 GB, free: 20.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/13.54, allocations: 12.97 kB / 4.683 GB, free: 20.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/13.54, allocations: 12 kB / 4.683 GB, free: 20.39 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009801/13.54, allocations: 263.6 kB / 4.684 GB, free: 20.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.163e-05/13.54, allocations: 15.94 kB / 4.684 GB, free: 20.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001722/13.54, allocations: 151.7 kB / 4.684 GB, free: 19.97 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/13.54, allocations: 47.98 kB / 4.684 GB, free: 19.93 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.0002706/13.54, allocations: 180.5 kB / 4.684 GB, free: 19.74 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004085/13.54, allocations: 173.8 kB / 4.684 GB, free: 19.57 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002093/13.54, allocations: 1.007 MB / 4.685 GB, free: 18.56 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/13.54, allocations: 8 kB / 4.685 GB, free: 18.55 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/13.54, allocations: 0 / 4.685 GB, free: 18.55 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001191/13.54, allocations: 1.07 MB / 4.686 GB, free: 17.39 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.005534/13.55, allocations: 2.714 MB / 4.689 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/13.55, allocations: 4 kB / 4.689 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000842/13.55, allocations: 179.9 kB / 4.689 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002132/13.55, allocations: 44.16 kB / 4.689 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.626e-05/13.55, allocations: 23.98 kB / 4.689 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001028/13.55, allocations: 1.425 MB / 4.69 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/13.55, allocations: 0 / 4.69 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002089/13.55, allocations: 1.569 MB / 4.692 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009611/13.56, allocations: 338.7 kB / 4.692 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004301/13.56, allocations: 23.59 kB / 4.692 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001439/13.56, allocations: 135.8 kB / 4.692 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/13.56, allocations: 68.64 kB / 4.693 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-05/13.56, allocations: 31.98 kB / 4.693 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001735/13.56, allocations: 1.014 MB / 4.694 GB, free: 9.539 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.61e-07/13.56, allocations: 0 / 4.694 GB, free: 9.539 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004931/13.56, allocations: 1.275 MB / 4.695 GB, free: 8.262 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.008359/13.57, allocations: 5.825 MB / 4.701 GB, free: 2.289 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002743/13.57, allocations: 1.564 MB / 4.702 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/13.58, allocations: 4 kB / 4.702 GB, free: 0.6953 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0008296/13.58, allocations: 0.5303 MB / 4.703 GB, free: 156 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004283/13.58, allocations: 0.7656 MB / 4.703 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01023/13.59, allocations: 3.326 MB / 4.707 GB, free: 12 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001756/13.59, allocations: 1.534 MB / 4.708 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.003774/13.6, allocations: 0.6582 MB / 4.709 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001257/13.6, allocations: 0.7413 MB / 4.709 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of SimCode: time 9.01e-07/13.6, allocations: 0 / 4.709 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7327/14.33, allocations: 97.06 MB / 4.804 GB, free: 77.73 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002265/14.33, allocations: 208.5 kB / 4.804 GB, free: 77.5 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.496/19.83, allocations: 0 / 4.804 GB, free: 77.5 MB / 0.7448 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)