Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_u.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_u,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_u") translateModel(Annex60.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008887/0.0008887, allocations: 90.52 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.008385/0.008386, allocations: 170.4 kB / 16.26 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.631/1.631, allocations: 205.4 MB / 222.5 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4166/0.4166, allocations: 55.01 MB / 325.8 MB, free: 0.5703 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.0005916/0.0005916, allocations: 16 kB / 397.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3749/0.3755, allocations: 60.71 MB / 458 MB, free: 38.42 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatExchangers.Examples.AirHeater_u): time 0.6071/0.9826, allocations: 254.7 MB / 0.696 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.03402/1.017, allocations: 19.9 MB / 0.7154 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005276/1.022, allocations: 78.19 kB / 0.7155 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.005252/1.027, allocations: 1.311 MB / 0.7168 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01145/1.039, allocations: 3.809 MB / 0.7205 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01217/1.051, allocations: 3.33 MB / 0.7238 GB, free: 432 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01351/1.065, allocations: 8.209 MB / 0.7318 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004252/1.069, allocations: 1.781 MB / 0.7335 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007366/1.076, allocations: 2.296 MB / 0.7358 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005473/1.082, allocations: 1.828 MB / 0.7376 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0009832/1.083, allocations: 88.62 kB / 0.7376 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01142/1.094, allocations: 4.401 MB / 0.7419 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.002012/1.096, allocations: 0.745 MB / 0.7427 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.003468/1.1, allocations: 1.234 MB / 0.7439 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01098/1.111, allocations: 5.13 MB / 0.7489 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/1.111, allocations: 2.625 kB / 0.7489 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.154e-06/1.111, allocations: 0 / 0.7489 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001435/1.111, allocations: 0 / 0.7489 GB, free: 5.434 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: 384 * Number of variables: 384 Notification: Performance of Generate backend data structure: time 0.006282/1.117, allocations: 2.698 MB / 0.7515 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/1.117, allocations: 12.03 kB / 0.7515 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005244/1.122, allocations: 0.7918 MB / 0.7523 GB, free: 1.895 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004052/1.127, allocations: 1.799 MB / 0.7541 GB, free: 128 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004602/1.127, allocations: 185.7 kB / 0.7542 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004364/1.127, allocations: 162.6 kB / 0.7544 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004634/1.132, allocations: 1.941 MB / 0.7563 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.77e-05/1.132, allocations: 7.906 kB / 0.7563 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002273/1.132, allocations: 60 kB / 0.7563 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-05/1.133, allocations: 54.95 kB / 0.7564 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004237/1.137, allocations: 1.669 MB / 0.758 GB, free: 12.01 MB / 0.5294 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.01516/1.152, allocations: 8.368 MB / 0.7662 GB, free: 3.156 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003155/1.155, allocations: 1.83 MB / 0.768 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001428/1.157, allocations: 0.6668 MB / 0.7686 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004214/1.157, allocations: 152.7 kB / 0.7688 GB, free: 368 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001786/1.159, allocations: 0.7989 MB / 0.7696 GB, free: 15.53 MB / 0.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001/1.16, allocations: 119.2 kB / 0.7697 GB, free: 15.41 MB / 0.545 GB Notification: Performance of pre-optimization done (n=98): time 5.811e-06/1.16, allocations: 0 / 0.7697 GB, free: 15.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=101): time 0.01042/1.17, allocations: 4.014 MB / 0.7736 GB, free: 11.32 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000164/1.17, allocations: 274 kB / 0.7739 GB, free: 11 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003045/1.174, allocations: 1.625 MB / 0.7754 GB, free: 9.328 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000165/1.174, allocations: 52.36 kB / 0.7755 GB, free: 9.273 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009666/1.175, allocations: 0.986 MB / 0.7765 GB, free: 8.277 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003706/1.175, allocations: 365.7 kB / 0.7768 GB, free: 7.926 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001879/1.175, allocations: 117.6 kB / 0.7769 GB, free: 7.805 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.00015/1.175, allocations: 360.5 kB / 0.7773 GB, free: 7.449 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001387/1.177, allocations: 0.5882 MB / 0.7778 GB, free: 6.859 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001683/1.179, allocations: 0.9942 MB / 0.7788 GB, free: 5.711 MB / 0.545 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.01489/1.193, allocations: 4.108 MB / 0.7828 GB, free: 1.508 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.156e-05/1.193, allocations: 4 kB / 0.7828 GB, free: 1.504 MB / 0.545 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.004274/1.198, allocations: 1.813 MB / 0.7846 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002773/1.198, allocations: 368.2 kB / 0.7849 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.937e-05/1.198, allocations: 15.94 kB / 0.785 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001847/1.198, allocations: 47.27 kB / 0.785 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001361/1.2, allocations: 317.7 kB / 0.7853 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001332/1.201, allocations: 1.505 MB / 0.7868 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003235/1.204, allocations: 204.5 kB / 0.787 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001698/1.204, allocations: 55.98 kB / 0.787 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/1.204, allocations: 7.938 kB / 0.787 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003519/1.208, allocations: 1.572 MB / 0.7886 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-05/1.208, allocations: 11.98 kB / 0.7886 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001507/1.208, allocations: 45.12 kB / 0.7886 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001319/1.21, allocations: 317.6 kB / 0.7889 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001419/1.211, allocations: 1.506 MB / 0.7904 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002197/1.213, allocations: 187.9 kB / 0.7906 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001526/1.213, allocations: 55.98 kB / 0.7906 GB, free: 9.254 MB / 0.5606 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.TSet.count,$PRE.TSet.T_start,TSet.count,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 (156): * Single equations (assignments): 150 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001576/1.215, allocations: 0.6012 MB / 0.7912 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006062/1.216, allocations: 201.5 kB / 0.7914 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003689/1.219, allocations: 1.434 MB / 0.7928 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/1.219, allocations: 12 kB / 0.7928 GB, free: 7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/1.219, allocations: 3.938 kB / 0.7928 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002691/1.222, allocations: 1.193 MB / 0.794 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007591/1.23, allocations: 3.602 MB / 0.7975 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/1.23, allocations: 0 / 0.7975 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001232/1.231, allocations: 242.1 kB / 0.7977 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002678/1.231, allocations: 73.67 kB / 0.7978 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.271e-05/1.231, allocations: 35.97 kB / 0.7978 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002393/1.234, allocations: 2.755 MB / 0.8005 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.234, allocations: 8.156 kB / 0.8005 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004908/1.239, allocations: 2.196 MB / 0.8027 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001196/1.24, allocations: 394.6 kB / 0.8031 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004553/1.24, allocations: 31.92 kB / 0.8031 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001798/1.242, allocations: 191.7 kB / 0.8033 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001857/1.242, allocations: 67.44 kB / 0.8033 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001147/1.242, allocations: 39.97 kB / 0.8034 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002023/1.244, allocations: 1.099 MB / 0.8045 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.443e-06/1.244, allocations: 0 / 0.8045 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003575/1.248, allocations: 0.9707 MB / 0.8054 GB, free: 9.723 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (vol.dynBal.U,vol.dynBal.mXi[1],mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U,hea.vol.dynBal.m,hea.vol.dynBal.mXi[1]) * 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 (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (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.001025/1.249, allocations: 371.6 kB / 0.8058 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005441/1.255, allocations: 2.603 MB / 0.8083 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/1.255, allocations: 0 / 0.8083 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001668/1.256, allocations: 0.8597 MB / 0.8091 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005106/1.261, allocations: 0.9968 MB / 0.8101 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009269/1.271, allocations: 5.068 MB / 0.8151 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001521/1.272, allocations: 1.587 MB / 0.8166 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002601/1.275, allocations: 0.51 MB / 0.8171 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005325/1.275, allocations: 147.4 kB / 0.8172 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of SimCode: time 7.42e-07/1.275, allocations: 0 / 0.8172 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of Templates: time 0.06586/1.341, allocations: 38.79 MB / 0.8551 GB, free: 7.164 MB / 0.6231 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_u.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_u.sim & ./Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1) Environment - environmentSimulation: