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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000932/0.0009323, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005569/0.005569, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9074/0.9074, allocations: 135.3 MB / 426.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003027/0.0003027, allocations: 8 kB / 0.5077 GB, free: 4.652 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1413, allocations: 82.31 MB / 0.5881 GB, free: 2.512 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.4725/0.6139, allocations: 230.5 MB / 0.8132 GB, free: 5.738 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02045/0.6343, allocations: 15.7 MB / 0.8285 GB, free: 5.992 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002142/0.6365, allocations: 79.5 kB / 0.8286 GB, free: 5.914 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002788/0.6393, allocations: 1.133 MB / 0.8297 GB, free: 4.781 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007186/0.6465, allocations: 3.186 MB / 0.8328 GB, free: 1.59 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004988/0.6515, allocations: 2.233 MB / 0.835 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.007137/0.6587, allocations: 6.539 MB / 0.8414 GB, free: 8.82 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002255/0.6609, allocations: 1.597 MB / 0.843 GB, free: 7.18 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005271/0.6662, allocations: 2.35 MB / 0.8452 GB, free: 4.82 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00311/0.6693, allocations: 1.519 MB / 0.8467 GB, free: 3.301 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002474/0.6696, allocations: 80 kB / 0.8468 GB, free: 3.223 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006427/0.676, allocations: 3.733 MB / 0.8505 GB, free: 15.48 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0007119/0.6768, allocations: 0.6267 MB / 0.8511 GB, free: 14.85 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.00127/0.678, allocations: 1.074 MB / 0.8521 GB, free: 13.77 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005442/0.6835, allocations: 4.295 MB / 0.8563 GB, free: 9.457 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.6835, allocations: 0 / 0.8563 GB, free: 9.457 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.843e-06/0.6835, allocations: 3.938 kB / 0.8563 GB, free: 9.453 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.479e-05/0.6836, allocations: 0 / 0.8563 GB, free: 9.453 MB / 0.67 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.003994/0.6876, allocations: 2.428 MB / 0.8587 GB, free: 6.961 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.6876, allocations: 12.03 kB / 0.8587 GB, free: 6.949 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002336/0.6878, allocations: 198.3 kB / 0.8589 GB, free: 6.746 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004678/0.6925, allocations: 0.8128 MB / 0.8597 GB, free: 5.93 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002774/0.6953, allocations: 1.668 MB / 0.8613 GB, free: 4.211 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003856/0.6957, allocations: 174.5 kB / 0.8615 GB, free: 4.039 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002168/0.6959, allocations: 140 kB / 0.8616 GB, free: 3.902 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003057/0.699, allocations: 1.68 MB / 0.8632 GB, free: 2.152 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.051e-05/0.6991, allocations: 8 kB / 0.8633 GB, free: 2.145 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001317/0.6992, allocations: 52 kB / 0.8633 GB, free: 2.094 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.817e-05/0.6992, allocations: 46.52 kB / 0.8634 GB, free: 2.047 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003268/0.7025, allocations: 1.497 MB / 0.8648 GB, free: 0.543 MB / 0.67 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.2521/0.9546, allocations: 7.592 MB / 0.8722 GB, free: 214.4 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002291/0.9569, allocations: 1.627 MB / 0.8738 GB, free: 213.7 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001076/0.958, allocations: 0.5415 MB / 0.8743 GB, free: 213.7 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001115/0.9591, allocations: 0.8161 MB / 0.8751 GB, free: 213 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001089/0.9602, allocations: 0.5861 MB / 0.8757 GB, free: 212.9 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006146/0.9609, allocations: 123.7 kB / 0.8758 GB, free: 212.9 MB / 0.67 GB Notification: Performance of pre-optimization done (n=85): time 2.575e-06/0.9609, allocations: 0 / 0.8758 GB, free: 212.9 MB / 0.67 GB Notification: Performance of matching and sorting (n=85): time 0.003506/0.9644, allocations: 1.655 MB / 0.8774 GB, free: 212.4 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.9644, allocations: 60.91 kB / 0.8775 GB, free: 212.4 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001501/0.9659, allocations: 1.558 MB / 0.879 GB, free: 211.8 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.11e-05/0.966, allocations: 50.39 kB / 0.8791 GB, free: 211.8 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004975/0.9665, allocations: 0.9237 MB / 0.88 GB, free: 211 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001851/0.9667, allocations: 300.1 kB / 0.8803 GB, free: 210.8 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/0.9668, allocations: 97.5 kB / 0.8804 GB, free: 210.8 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 8.127e-05/0.9669, allocations: 347.2 kB / 0.8807 GB, free: 210.4 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009708/0.9679, allocations: 471.9 kB / 0.8811 GB, free: 210.3 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001109/0.969, allocations: 0.8078 MB / 0.8819 GB, free: 209.7 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002049/0.9711, allocations: 1.267 MB / 0.8832 GB, free: 209 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.9711, allocations: 3.312 kB / 0.8832 GB, free: 209 MB / 0.67 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002497/0.9736, allocations: 1.48 MB / 0.8846 GB, free: 208.5 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001546/0.9738, allocations: 374 kB / 0.885 GB, free: 208 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.9738, allocations: 8.375 kB / 0.885 GB, free: 208 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.9738, allocations: 14.5 kB / 0.885 GB, free: 208 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.9749, allocations: 285 kB / 0.8853 GB, free: 208 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.73e-05/0.9749, allocations: 20.56 kB / 0.8853 GB, free: 208 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.9762, allocations: 160.9 kB / 0.8854 GB, free: 207.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.771e-05/0.9763, allocations: 51.67 kB / 0.8855 GB, free: 207.9 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.62e-06/0.9763, allocations: 3 kB / 0.8855 GB, free: 207.9 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002193/0.9785, allocations: 1.266 MB / 0.8867 GB, free: 207.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.066e-06/0.9786, allocations: 13.53 kB / 0.8867 GB, free: 207.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.9786, allocations: 12.84 kB / 0.8867 GB, free: 207.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009913/0.9796, allocations: 280.7 kB / 0.887 GB, free: 207.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/0.9796, allocations: 22.98 kB / 0.887 GB, free: 207.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/0.9808, allocations: 154.8 kB / 0.8872 GB, free: 207.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.169e-05/0.9809, allocations: 52.55 kB / 0.8872 GB, free: 207.4 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005907/0.9815, allocations: 0.5335 MB / 0.8878 GB, free: 207 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/0.9816, allocations: 177.6 kB / 0.8879 GB, free: 206.9 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002345/0.984, allocations: 1.219 MB / 0.8891 GB, free: 206.5 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.984, allocations: 9.594 kB / 0.8891 GB, free: 206.5 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.984, allocations: 3.938 kB / 0.8891 GB, free: 206.5 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00193/0.9859, allocations: 1.281 MB / 0.8904 GB, free: 205.7 MB / 0.67 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.004321/0.9903, allocations: 2.966 MB / 0.8933 GB, free: 204.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.9903, allocations: 3.828 kB / 0.8933 GB, free: 204.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008724/0.9912, allocations: 199.2 kB / 0.8935 GB, free: 204.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001735/0.9913, allocations: 45.59 kB / 0.8935 GB, free: 204.3 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.545e-05/0.9914, allocations: 28.31 kB / 0.8935 GB, free: 204.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009777/0.9924, allocations: 1.411 MB / 0.8949 GB, free: 202.9 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.9924, allocations: 2.625 kB / 0.8949 GB, free: 202.9 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003212/0.9956, allocations: 1.839 MB / 0.8967 GB, free: 202.1 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004392/0.9961, allocations: 345.5 kB / 0.897 GB, free: 201.9 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000164/0.9963, allocations: 22.66 kB / 0.8971 GB, free: 201.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/0.9974, allocations: 155.5 kB / 0.8972 GB, free: 201.8 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/0.9976, allocations: 64.09 kB / 0.8973 GB, free: 201.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.058e-05/0.9976, allocations: 26.48 kB / 0.8973 GB, free: 201.8 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00111/0.9987, allocations: 1.057 MB / 0.8983 GB, free: 201.4 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9987, allocations: 3.125 kB / 0.8983 GB, free: 201.4 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002311/1.001, allocations: 0.9535 MB / 0.8993 GB, free: 201.2 MB / 0.67 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 (85): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004821/1.006, allocations: 2.89 MB / 0.9021 GB, free: 199.8 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003544/1.009, allocations: 1.855 MB / 0.9039 GB, free: 199.2 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.009, allocations: 0.6875 kB / 0.9039 GB, free: 199.2 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001177/1.011, allocations: 0.6333 MB / 0.9045 GB, free: 198.9 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00345/1.014, allocations: 0.7866 MB / 0.9053 GB, free: 198.7 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02206/1.036, allocations: 14.71 MB / 0.9197 GB, free: 190.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008745/1.037, allocations: 1.486 MB / 0.9211 GB, free: 189.3 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001899/1.039, allocations: 440.4 kB / 0.9215 GB, free: 189.1 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008569/1.04, allocations: 0.7627 MB / 0.9223 GB, free: 188.6 MB / 0.67 GB Notification: Performance of SimCode: time 1.512e-06/1.04, allocations: 1.438 kB / 0.9223 GB, free: 188.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.23/2.27, allocations: 43.48 MB / 0.9647 GB, free: 161.3 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002072/2.271, allocations: 262.9 kB / 0.965 GB, free: 161 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.823/5.094, allocations: 3.938 kB / 0.965 GB, free: 161 MB / 0.67 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/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)