Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001768/0.001775, allocations: 114 kB / 16.38 MB, free: 6.008 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.001674/0.001674, allocations: 187.4 kB / 17.31 MB, free: 5.621 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.336/1.336, allocations: 205.1 MB / 223.2 MB, free: 12.14 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.795/1.795, allocations: 292.3 MB / 0.5496 GB, free: 17.54 MB / 462.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: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 75.89 kB / 0.6729 GB, free: 5.883 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2022, allocations: 114.6 MB / 0.7848 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u): time 0.6332/0.8355, allocations: 260.5 MB / 1.039 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02773/0.8632, allocations: 19.52 MB / 1.058 GB, free: 1.781 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002786/0.866, allocations: 95.44 kB / 1.058 GB, free: 1.688 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003796/0.8699, allocations: 1.468 MB / 1.06 GB, free: 216 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.009602/0.8795, allocations: 3.985 MB / 1.064 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.009374/0.8889, allocations: 3.949 MB / 1.068 GB, free: 8.289 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.008267/0.8972, allocations: 5.912 MB / 1.073 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003565/0.9008, allocations: 2.153 MB / 1.075 GB, free: 164 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006893/0.9077, allocations: 2.74 MB / 1.078 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003659/0.9114, allocations: 1.784 MB / 1.08 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.000463/0.9119, allocations: 236 kB / 1.08 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007811/0.9197, allocations: 4.182 MB / 1.084 GB, free: 7.211 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.00109/0.9208, allocations: 0.8686 MB / 1.085 GB, free: 6.34 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001844/0.9227, allocations: 1.376 MB / 1.086 GB, free: 4.957 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.008071/0.9307, allocations: 5.134 MB / 1.091 GB, free: 15.81 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.9308, allocations: 4 kB / 1.091 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9308, allocations: 0 / 1.091 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.482e-05/0.9308, allocations: 0 / 1.091 GB, free: 15.8 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 378 * Number of variables: 378 Notification: Performance of Generate backend data structure: time 0.005533/0.9364, allocations: 3.136 MB / 1.094 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.9364, allocations: 12.75 kB / 1.094 GB, free: 12.58 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005072/0.9415, allocations: 0.794 MB / 1.095 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003391/0.9449, allocations: 1.88 MB / 1.097 GB, free: 9.855 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.152e-05/0.945, allocations: 119 kB / 1.097 GB, free: 9.738 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002437/0.9453, allocations: 167.9 kB / 1.097 GB, free: 9.574 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003327/0.9486, allocations: 1.851 MB / 1.099 GB, free: 7.652 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.229e-05/0.9487, allocations: 0 / 1.099 GB, free: 7.652 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001461/0.9488, allocations: 64 kB / 1.099 GB, free: 7.59 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.467e-05/0.9489, allocations: 58.86 kB / 1.099 GB, free: 7.531 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00321/0.9521, allocations: 1.557 MB / 1.101 GB, free: 5.969 MB / 0.8887 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.0111/0.9632, allocations: 8.279 MB / 1.109 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002717/0.966, allocations: 1.774 MB / 1.111 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001334/0.9673, allocations: 0.6533 MB / 1.111 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005332/0.9679, allocations: 223.1 kB / 1.111 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001477/0.9693, allocations: 0.6687 MB / 1.112 GB, free: 9.559 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=99): time 4.217e-06/0.9694, allocations: 0 / 1.112 GB, free: 9.559 MB / 0.9044 GB Notification: Performance of matching and sorting (n=102): time 0.008821/0.9782, allocations: 3.63 MB / 1.116 GB, free: 5.852 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.835e-05/0.9783, allocations: 115.8 kB / 1.116 GB, free: 5.715 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002123/0.9804, allocations: 1.565 MB / 1.117 GB, free: 4.105 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001399/0.9806, allocations: 49.7 kB / 1.117 GB, free: 4.051 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008311/0.9814, allocations: 0.9792 MB / 1.118 GB, free: 3.059 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003322/0.9818, allocations: 350.9 kB / 1.119 GB, free: 2.711 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004104/0.9822, allocations: 258.7 kB / 1.119 GB, free: 2.453 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.9823, allocations: 357.9 kB / 1.119 GB, free: 2.098 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001271/0.9836, allocations: 0.5681 MB / 1.12 GB, free: 1.523 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001487/0.9851, allocations: 0.9147 MB / 1.121 GB, free: 472 kB / 0.9044 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (hea.vol.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01611/1.001, allocations: 4.344 MB / 1.125 GB, free: 11.98 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/1.001, allocations: 0 / 1.125 GB, free: 11.98 MB / 0.92 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.00369/1.005, allocations: 1.724 MB / 1.127 GB, free: 10.24 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.443e-05/1.005, allocations: 41.69 kB / 1.127 GB, free: 10.19 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.778e-05/1.005, allocations: 8 kB / 1.127 GB, free: 10.18 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001692/1.005, allocations: 48.78 kB / 1.127 GB, free: 10.13 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/1.007, allocations: 296 kB / 1.127 GB, free: 9.844 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001347/1.008, allocations: 1.666 MB / 1.129 GB, free: 8.043 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/1.01, allocations: 92.58 kB / 1.129 GB, free: 7.949 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001256/1.01, allocations: 55.98 kB / 1.129 GB, free: 7.895 MB / 0.92 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002042/1.012, allocations: 0.9799 MB / 1.13 GB, free: 6.91 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001449/1.013, allocations: 0.9068 MB / 1.131 GB, free: 5.852 MB / 0.92 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (hea.vol.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01582/1.029, allocations: 4.244 MB / 1.135 GB, free: 1.461 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.247e-06/1.029, allocations: 4 kB / 1.135 GB, free: 1.457 MB / 0.92 GB Notification: Performance of matching and sorting (n=159) (initialization_lambda0): time 0.3686/1.398, allocations: 1.703 MB / 1.136 GB, free: 304 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.933e-05/1.398, allocations: 39.06 kB / 1.136 GB, free: 304 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.9e-05/1.398, allocations: 11.62 kB / 1.136 GB, free: 304 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001477/1.398, allocations: 43.75 kB / 1.136 GB, free: 304 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/1.399, allocations: 300.2 kB / 1.137 GB, free: 304 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009668/1.4, allocations: 1.666 MB / 1.138 GB, free: 302.5 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/1.402, allocations: 94.09 kB / 1.138 GB, free: 302.5 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/1.402, allocations: 57.61 kB / 1.139 GB, free: 302.5 MB / 0.92 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization_lambda0 system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (151): * Single equations (assignments): 145 * 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.0003881/1.403, allocations: 254.2 kB / 1.139 GB, free: 302.4 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003017/1.403, allocations: 195.4 kB / 1.139 GB, free: 302.4 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002928/1.406, allocations: 1.414 MB / 1.14 GB, free: 302.3 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002148/1.408, allocations: 1.162 MB / 1.141 GB, free: 302.2 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/1.408, allocations: 3.094 kB / 1.141 GB, free: 302.2 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006541/1.409, allocations: 372.9 kB / 1.142 GB, free: 302.1 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002051/1.409, allocations: 25.59 kB / 1.142 GB, free: 302.1 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/1.41, allocations: 71.56 kB / 1.142 GB, free: 302.1 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/1.41, allocations: 66.83 kB / 1.142 GB, free: 302.1 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003253/1.413, allocations: 1.49 MB / 1.143 GB, free: 301.9 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003822/1.417, allocations: 2.21 MB / 1.146 GB, free: 301.7 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001056/1.418, allocations: 0.5894 MB / 1.146 GB, free: 301.7 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001363/1.42, allocations: 1.054 MB / 1.147 GB, free: 301.3 MB / 0.92 GB Notification: Performance of Backend: time 5.11e-07/1.42, allocations: 0 / 1.147 GB, free: 301.3 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.006907/1.427, allocations: 2.949 MB / 1.15 GB, free: 300.3 MB / 0.92 GB Notification: Performance of SimCode: time 0.008617/1.435, allocations: 4.794 MB / 1.155 GB, free: 298.1 MB / 0.92 GB Notification: Performance of Templates: time 0.08462/1.52, allocations: 50.82 MB / 1.204 GB, free: 280.9 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)