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.008911/0.008911, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.731/0.731, 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.527/1.527, allocations: 223.2 MB / 406.8 MB, free: 3.195 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.001579/0.001579, allocations: 95.42 kB / 489.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003366/0.0003367, allocations: 12 kB / 0.5691 GB, free: 14.02 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4234/0.4237, allocations: 82.3 MB / 0.6495 GB, free: 36.08 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.224/4.648, allocations: 1.923 GB / 2.573 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/4.648, allocations: 97.98 kB / 2.573 GB, free: 12 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.739/12.39, allocations: 2.091 GB / 4.664 GB, free: 76.34 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.015e-06/12.39, allocations: 0 / 4.664 GB, free: 76.34 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0002657/12.39, allocations: 71.23 kB / 4.664 GB, free: 76.32 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: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.009005/12.4, allocations: 2.898 MB / 4.667 GB, free: 74.29 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/12.4, allocations: 9.375 kB / 4.667 GB, free: 74.29 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007089/12.4, allocations: 199 kB / 4.667 GB, free: 74.13 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0054/12.4, allocations: 0.7692 MB / 4.668 GB, free: 73.82 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00712/12.41, allocations: 2.209 MB / 4.67 GB, free: 71.98 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001143/12.41, allocations: 109.4 kB / 4.67 GB, free: 71.87 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003302/12.41, allocations: 143.7 kB / 4.671 GB, free: 71.73 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002949/12.41, allocations: 1.563 MB / 4.672 GB, free: 70.1 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.234e-05/12.41, allocations: 0 / 4.672 GB, free: 70.1 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001283/12.41, allocations: 56 kB / 4.672 GB, free: 70.05 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.417e-05/12.41, allocations: 52.75 kB / 4.672 GB, free: 70 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002491/12.42, allocations: 1.273 MB / 4.673 GB, free: 68.72 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.01049/12.43, allocations: 7.452 MB / 4.681 GB, free: 60.84 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001975/12.43, allocations: 1.486 MB / 4.682 GB, free: 59.22 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001023/12.43, allocations: 0.7529 MB / 4.683 GB, free: 58.33 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009601/12.43, allocations: 0.5282 MB / 4.683 GB, free: 57.79 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001089/12.43, allocations: 127.2 kB / 4.683 GB, free: 57.67 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=86): time 3.837e-06/12.43, allocations: 0 / 4.683 GB, free: 57.67 MB / 0.7448 GB Notification: Performance of matching and sorting (n=86): time 0.003442/12.43, allocations: 1.509 MB / 4.685 GB, free: 56.13 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/12.43, allocations: 111.8 kB / 4.685 GB, free: 56 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001897/12.44, allocations: 1.339 MB / 4.686 GB, free: 54.66 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.000121/12.44, allocations: 45.7 kB / 4.686 GB, free: 54.61 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007257/12.44, allocations: 0.9192 MB / 4.687 GB, free: 53.69 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002217/12.44, allocations: 304.1 kB / 4.688 GB, free: 53.39 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.256e-05/12.44, allocations: 20 kB / 4.688 GB, free: 53.38 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.86e-05/12.44, allocations: 353.9 kB / 4.688 GB, free: 53.02 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007529/12.44, allocations: 394.4 kB / 4.688 GB, free: 52.64 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009431/12.44, allocations: 0.7579 MB / 4.689 GB, free: 51.72 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000872/12.44, allocations: 0.5034 MB / 4.69 GB, free: 51.21 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/12.44, allocations: 11.95 kB / 4.69 GB, free: 51.2 MB / 0.7448 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002322/12.44, allocations: 1.333 MB / 4.691 GB, free: 49.86 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007279/12.44, allocations: 3.384 MB / 4.694 GB, free: 46.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/12.44, allocations: 8 kB / 4.694 GB, free: 46.19 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.241e-05/12.44, allocations: 19.98 kB / 4.694 GB, free: 46.17 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/12.44, allocations: 267.6 kB / 4.694 GB, free: 45.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.07e-05/12.44, allocations: 19.89 kB / 4.694 GB, free: 45.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/12.45, allocations: 143.7 kB / 4.695 GB, free: 45.75 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/12.45, allocations: 62.55 kB / 4.695 GB, free: 45.69 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/12.45, allocations: 4 kB / 4.695 GB, free: 45.69 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002006/12.45, allocations: 1.15 MB / 4.696 GB, free: 44.53 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/12.45, allocations: 8 kB / 4.696 GB, free: 44.52 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/12.45, allocations: 16 kB / 4.696 GB, free: 44.51 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/12.45, allocations: 255.6 kB / 4.696 GB, free: 44.26 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.559e-05/12.45, allocations: 20.19 kB / 4.696 GB, free: 44.24 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001714/12.45, allocations: 147.2 kB / 4.696 GB, free: 44.1 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-05/12.45, allocations: 51.98 kB / 4.696 GB, free: 44.05 MB / 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 () * Number of clocked 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.001178/12.45, allocations: 0.5358 MB / 4.697 GB, free: 43.5 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002766/12.45, allocations: 177.8 kB / 4.697 GB, free: 43.32 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00252/12.46, allocations: 1.122 MB / 4.698 GB, free: 42.19 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/12.46, allocations: 8 kB / 4.698 GB, free: 42.18 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/12.46, allocations: 4 kB / 4.698 GB, free: 42.18 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001651/12.46, allocations: 1.188 MB / 4.699 GB, free: 40.9 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.0053/12.46, allocations: 2.754 MB / 4.702 GB, free: 38.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/12.46, allocations: 0 / 4.702 GB, free: 38.09 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008997/12.46, allocations: 179.9 kB / 4.702 GB, free: 37.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002313/12.46, allocations: 52.47 kB / 4.702 GB, free: 37.86 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.579e-05/12.46, allocations: 23.98 kB / 4.702 GB, free: 37.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001093/12.47, allocations: 1.429 MB / 4.704 GB, free: 36.28 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/12.47, allocations: 3.953 kB / 4.704 GB, free: 36.27 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00289/12.47, allocations: 1.749 MB / 4.705 GB, free: 34.47 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009454/12.47, allocations: 334.7 kB / 4.706 GB, free: 34.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001782/12.47, allocations: 23.98 kB / 4.706 GB, free: 34.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/12.47, allocations: 135.8 kB / 4.706 GB, free: 33.96 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001513/12.47, allocations: 68.8 kB / 4.706 GB, free: 33.9 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.99e-05/12.47, allocations: 35.98 kB / 4.706 GB, free: 33.86 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.00157/12.47, allocations: 1.026 MB / 4.707 GB, free: 32.85 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.6e-07/12.47, allocations: 0 / 4.707 GB, free: 32.85 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.004814/12.48, allocations: 1.281 MB / 4.708 GB, free: 31.57 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) * Number of clocked states: 0 () * 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.008364/12.49, allocations: 6.05 MB / 4.714 GB, free: 25.74 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003234/12.49, allocations: 1.671 MB / 4.716 GB, free: 24.05 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/12.49, allocations: 3.938 kB / 4.716 GB, free: 24.05 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.00104/12.49, allocations: 0.5796 MB / 4.716 GB, free: 23.46 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003625/12.49, allocations: 0.7687 MB / 4.717 GB, free: 22.71 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01195/12.51, allocations: 11.3 MB / 4.728 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001329/12.51, allocations: 1.526 MB / 4.73 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002393/12.51, allocations: 451.5 kB / 4.73 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001138/12.51, allocations: 0.7687 MB / 4.731 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of SimCode: time 7.61e-07/12.51, allocations: 0 / 4.731 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6507/13.16, allocations: 86.33 MB / 4.815 GB, free: 76 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001823/13.16, allocations: 228.1 kB / 4.815 GB, free: 75.77 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.194/18.36, allocations: 0 / 4.815 GB, free: 75.77 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)