Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Annex60.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(Annex60.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 98.53 kB / 15.05 MB, free: 1.105 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.001141/0.001141, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.498/1.498, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.394/0.394, allocations: 54.98 MB / 325.3 MB, free: 0.7383 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005336/0.0005337, allocations: 12 kB / 396.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3396, allocations: 60.71 MB / 457.3 MB, free: 37.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.2102/0.5498, allocations: 193.7 MB / 0.6357 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3105/0.8604, allocations: 17.26 MB / 0.6526 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002822/0.8632, allocations: 62.81 kB / 0.6527 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004029/0.8673, allocations: 1.136 MB / 0.6538 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01036/0.8777, allocations: 3.28 MB / 0.657 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009174/0.8868, allocations: 2.884 MB / 0.6598 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006145/0.893, allocations: 2.971 MB / 0.6627 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003056/0.8961, allocations: 1.399 MB / 0.6641 GB, free: 20.94 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005016/0.9011, allocations: 1.929 MB / 0.6659 GB, free: 20.93 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002795/0.9039, allocations: 1.111 MB / 0.667 GB, free: 20.93 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0006384/0.9046, allocations: 86.38 kB / 0.6671 GB, free: 20.92 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005375/0.91, allocations: 1.739 MB / 0.6688 GB, free: 20.92 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001178/0.9112, allocations: 0.5903 MB / 0.6694 GB, free: 20.92 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001262/0.9124, allocations: 465.2 kB / 0.6698 GB, free: 20.89 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004543/0.917, allocations: 2.903 MB / 0.6727 GB, free: 20.66 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.917, allocations: 0 / 0.6727 GB, free: 20.66 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.543e-06/0.917, allocations: 0 / 0.6727 GB, free: 20.66 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001109/0.9171, allocations: 0 / 0.6727 GB, free: 20.66 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 335 * Number of variables: 335 Notification: Performance of Generate backend data structure: time 0.006112/0.9233, allocations: 2.425 MB / 0.675 GB, free: 19.35 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.9233, allocations: 14.98 kB / 0.675 GB, free: 19.35 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005287/0.9286, allocations: 0.8012 MB / 0.6758 GB, free: 19.2 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004276/0.9329, allocations: 1.572 MB / 0.6774 GB, free: 18.78 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005021/0.9334, allocations: 176.6 kB / 0.6775 GB, free: 18.77 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005623/0.934, allocations: 146 kB / 0.6777 GB, free: 18.76 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003995/0.938, allocations: 1.737 MB / 0.6794 GB, free: 18.54 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.075e-05/0.9381, allocations: 1.656 kB / 0.6794 GB, free: 18.54 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001444/0.9382, allocations: 63.97 kB / 0.6794 GB, free: 18.54 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.224e-05/0.9383, allocations: 46.38 kB / 0.6795 GB, free: 18.53 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003816/0.9421, allocations: 1.555 MB / 0.681 GB, free: 18.49 MB / 0.5137 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.01138/0.9535, allocations: 7.539 MB / 0.6883 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002841/0.9564, allocations: 1.711 MB / 0.69 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001092/0.9575, allocations: 0.6331 MB / 0.6906 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001385/0.9589, allocations: 0.6919 MB / 0.6913 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001093/0.96, allocations: 122.1 kB / 0.6914 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=83): time 3.777e-06/0.96, allocations: 0 / 0.6914 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of matching and sorting (n=83): time 0.00404/0.964, allocations: 1.7 MB / 0.6931 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000138/0.9642, allocations: 299.3 kB / 0.6934 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001939/0.9661, allocations: 1.639 MB / 0.695 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001224/0.9663, allocations: 47.02 kB / 0.695 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006375/0.9669, allocations: 0.9243 MB / 0.6959 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002046/0.9671, allocations: 290.5 kB / 0.6962 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.905e-05/0.9672, allocations: 22.47 kB / 0.6962 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.9673, allocations: 353.8 kB / 0.6966 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001104/0.9684, allocations: 487.8 kB / 0.697 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001236/0.9697, allocations: 0.8597 MB / 0.6979 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/0.9709, allocations: 0.5936 MB / 0.6984 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.9709, allocations: 6.312 kB / 0.6985 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002918/0.9738, allocations: 1.513 MB / 0.6999 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.001132/0.9749, allocations: 3.034 MB / 0.7029 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.14e-05/0.975, allocations: 13.22 kB / 0.7029 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.522e-05/0.975, allocations: 14.72 kB / 0.7029 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/0.9762, allocations: 284.8 kB / 0.7032 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.235e-05/0.9763, allocations: 24.11 kB / 0.7032 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001847/0.9781, allocations: 171.3 kB / 0.7034 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.9782, allocations: 55.38 kB / 0.7034 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.977e-06/0.9782, allocations: 2.625 kB / 0.7034 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002412/0.9807, allocations: 1.292 MB / 0.7047 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.595e-05/0.9807, allocations: 7.656 kB / 0.7047 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.9807, allocations: 12.19 kB / 0.7047 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/0.9818, allocations: 276.4 kB / 0.705 GB, free: 5.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.642e-05/0.9818, allocations: 19.61 kB / 0.705 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001552/0.9834, allocations: 161.1 kB / 0.7051 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.591e-05/0.9835, allocations: 47.89 kB / 0.7052 GB, free: 5.371 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (134): * Single equations (assignments): 130 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.0009627/0.9844, allocations: 0.5535 MB / 0.7057 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002474/0.9847, allocations: 185.2 kB / 0.7059 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002624/0.9873, allocations: 1.234 MB / 0.7071 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.9873, allocations: 8 kB / 0.7071 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.108e-06/0.9874, allocations: 2.406 kB / 0.7071 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002208/0.9896, allocations: 1.296 MB / 0.7084 GB, free: 4.137 MB / 0.5137 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.005239/0.9948, allocations: 3.098 MB / 0.7114 GB, free: 2.844 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.9948, allocations: 3.953 kB / 0.7114 GB, free: 2.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/0.9959, allocations: 210.8 kB / 0.7116 GB, free: 2.797 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002242/0.9961, allocations: 44.38 kB / 0.7117 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.629e-05/0.9962, allocations: 24.2 kB / 0.7117 GB, free: 2.773 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001228/0.9974, allocations: 1.444 MB / 0.7131 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.9974, allocations: 0 / 0.7131 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003665/1.001, allocations: 1.883 MB / 0.7149 GB, free: 0.918 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008723/1.002, allocations: 352.1 kB / 0.7153 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002418/1.002, allocations: 20.94 kB / 0.7153 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00133/1.004, allocations: 171 kB / 0.7155 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/1.004, allocations: 58.23 kB / 0.7155 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.099e-05/1.004, allocations: 32.59 kB / 0.7155 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001478/1.005, allocations: 1.109 MB / 0.7166 GB, free: 272 kB / 0.5137 GB Notification: Performance of sort global known variables: time 2.7e-07/1.005, allocations: 0 / 0.7166 GB, free: 272 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002915/1.008, allocations: 1.002 MB / 0.7176 GB, free: 124 kB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.heaCoo.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 (83): * Single equations (assignments): 80 * 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.001457/1.01, allocations: 0.6099 MB / 0.7182 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00365/1.013, allocations: 1.961 MB / 0.7201 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/1.013, allocations: 2.938 kB / 0.7201 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001282/1.015, allocations: 0.6393 MB / 0.7207 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003484/1.018, allocations: 0.8175 MB / 0.7215 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007815/1.026, allocations: 4.434 MB / 0.7259 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001182/1.027, allocations: 1.535 MB / 0.7274 GB, free: 8.688 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00201/1.029, allocations: 456.7 kB / 0.7278 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004021/1.03, allocations: 138.7 kB / 0.7279 GB, free: 8.109 MB / 0.5294 GB Notification: Performance of SimCode: time 4.51e-07/1.03, allocations: 0 / 0.7279 GB, free: 8.109 MB / 0.5294 GB Notification: Performance of Templates: time 0.05369/1.083, allocations: 32.48 MB / 0.7597 GB, free: 8.027 MB / 0.5606 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_T.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1) Environment - environmentSimulation: