Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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/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_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001106/0.001106, allocations: 111.8 kB / 16.37 MB, free: 6.312 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.001053/0.001053, allocations: 189.8 kB / 17.3 MB, free: 5.871 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.307/1.307, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.834/1.834, allocations: 292.3 MB / 0.5496 GB, free: 17.41 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.001663/0.001663, allocations: 68.47 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.228, allocations: 114.5 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.6069/0.835, allocations: 236.1 MB / 1.015 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.02631/0.8613, allocations: 18.2 MB / 1.033 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002954/0.8643, allocations: 91.44 kB / 1.033 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.004031/0.8684, allocations: 1.368 MB / 1.035 GB, free: 10.07 MB / 0.8262 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.009172/0.8776, allocations: 3.407 MB / 1.038 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.009643/0.8873, allocations: 3.864 MB / 1.042 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.007622/0.8949, allocations: 4.983 MB / 1.046 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003369/0.8983, allocations: 1.904 MB / 1.048 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006109/0.9044, allocations: 2.701 MB / 1.051 GB, free: 9.164 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00348/0.9079, allocations: 1.56 MB / 1.053 GB, free: 7.605 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0006647/0.9086, allocations: 200 kB / 1.053 GB, free: 7.41 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007022/0.9157, allocations: 3.559 MB / 1.056 GB, free: 3.844 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001097/0.9168, allocations: 0.7478 MB / 1.057 GB, free: 3.094 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001714/0.9185, allocations: 1.213 MB / 1.058 GB, free: 1.875 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.007657/0.9262, allocations: 4.444 MB / 1.062 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.9262, allocations: 0 / 1.062 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9262, allocations: 0 / 1.062 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.885e-05/0.9263, allocations: 0 / 1.062 GB, free: 13.42 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.005103/0.9314, allocations: 2.872 MB / 1.065 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.9315, allocations: 8.75 kB / 1.065 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004918/0.9364, allocations: 0.7659 MB / 1.066 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003685/0.9401, allocations: 1.731 MB / 1.068 GB, free: 7.922 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.897e-05/0.9402, allocations: 106.6 kB / 1.068 GB, free: 7.816 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002993/0.9405, allocations: 143.9 kB / 1.068 GB, free: 7.676 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003276/0.9438, allocations: 1.668 MB / 1.07 GB, free: 5.926 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.264e-05/0.9439, allocations: 3.938 kB / 1.07 GB, free: 5.922 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000135/0.944, allocations: 56 kB / 1.07 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.206e-05/0.9441, allocations: 54.5 kB / 1.07 GB, free: 5.812 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003278/0.9474, allocations: 1.415 MB / 1.071 GB, free: 4.391 MB / 0.8575 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.01069/0.9581, allocations: 7.697 MB / 1.079 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002729/0.9608, allocations: 1.584 MB / 1.08 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00111/0.962, allocations: 0.4999 MB / 1.081 GB, free: 9.906 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001321/0.9633, allocations: 0.7709 MB / 1.081 GB, free: 8.988 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001232/0.9645, allocations: 0.543 MB / 1.082 GB, free: 8.43 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 3.176e-06/0.9646, allocations: 7.938 kB / 1.082 GB, free: 8.422 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82): time 0.004242/0.9688, allocations: 1.567 MB / 1.083 GB, free: 6.828 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.996e-05/0.9689, allocations: 115.4 kB / 1.084 GB, free: 6.691 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002153/0.9711, allocations: 1.588 MB / 1.085 GB, free: 5.055 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.000135/0.9712, allocations: 45.7 kB / 1.085 GB, free: 5.004 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008114/0.972, allocations: 0.9358 MB / 1.086 GB, free: 4.059 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002827/0.9723, allocations: 291.8 kB / 1.086 GB, free: 3.77 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003431/0.9727, allocations: 218.8 kB / 1.087 GB, free: 3.551 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.9728, allocations: 353.9 kB / 1.087 GB, free: 3.199 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001069/0.9739, allocations: 461.8 kB / 1.087 GB, free: 2.746 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001345/0.9752, allocations: 0.8242 MB / 1.088 GB, free: 1.766 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002327/0.9776, allocations: 1.244 MB / 1.089 GB, free: 404 kB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.9776, allocations: 0 / 1.089 GB, free: 404 kB / 0.8731 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.003374/0.981, allocations: 1.462 MB / 1.091 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 5.243e-05/0.9811, allocations: 37.86 kB / 1.091 GB, free: 14.87 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.809e-05/0.9811, allocations: 12 kB / 1.091 GB, free: 14.86 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 3e-05/0.9811, allocations: 12 kB / 1.091 GB, free: 14.85 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/0.9823, allocations: 268.8 kB / 1.091 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.373e-05/0.9824, allocations: 23.88 kB / 1.091 GB, free: 14.56 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/0.9838, allocations: 144.2 kB / 1.091 GB, free: 14.42 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/0.9839, allocations: 51.98 kB / 1.091 GB, free: 14.37 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001697/0.9856, allocations: 0.8264 MB / 1.092 GB, free: 13.55 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001267/0.9869, allocations: 0.804 MB / 1.093 GB, free: 12.58 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002203/0.9891, allocations: 1.209 MB / 1.094 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.518e-06/0.9892, allocations: 3.938 kB / 1.094 GB, free: 11.24 MB / 0.8887 GB Notification: Performance of matching and sorting (n=137) (initialization_lambda0): time 0.003092/0.9923, allocations: 1.438 MB / 1.095 GB, free: 9.789 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.755e-05/0.9923, allocations: 35.42 kB / 1.095 GB, free: 9.75 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.146e-05/0.9923, allocations: 15.98 kB / 1.095 GB, free: 9.734 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.9924, allocations: 15.94 kB / 1.096 GB, free: 9.719 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/0.9935, allocations: 268.2 kB / 1.096 GB, free: 9.457 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.022e-05/0.9935, allocations: 15.94 kB / 1.096 GB, free: 9.441 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/0.9949, allocations: 140.2 kB / 1.096 GB, free: 9.309 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-05/0.995, allocations: 55.92 kB / 1.096 GB, free: 9.254 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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): 129 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.0003704/0.9954, allocations: 253.8 kB / 1.096 GB, free: 9 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004164/0.9958, allocations: 177.8 kB / 1.096 GB, free: 8.824 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002897/0.9988, allocations: 1.154 MB / 1.098 GB, free: 7.66 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002249/1.001, allocations: 1.223 MB / 1.099 GB, free: 6.348 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.483e-06/1.001, allocations: 7.984 kB / 1.099 GB, free: 6.34 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008736/1.002, allocations: 338.6 kB / 1.099 GB, free: 5.988 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002531/1.002, allocations: 23.92 kB / 1.099 GB, free: 5.965 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000962/1.003, allocations: 59.95 kB / 1.099 GB, free: 5.906 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/1.003, allocations: 52.91 kB / 1.099 GB, free: 5.855 MB / 0.8887 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003135/1.006, allocations: 1.189 MB / 1.1 GB, free: 4.656 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003669/1.01, allocations: 1.806 MB / 1.102 GB, free: 2.832 MB / 0.8887 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001008/1.011, allocations: 483.6 kB / 1.103 GB, free: 2.355 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001629/1.013, allocations: 1.069 MB / 1.104 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of Backend: time 9.52e-07/1.013, allocations: 4 kB / 1.104 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.007044/1.02, allocations: 2.604 MB / 1.106 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of SimCode: time 0.007818/1.028, allocations: 4.335 MB / 1.11 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of Templates: time 0.4262/1.454, allocations: 43.34 MB / 1.153 GB, free: 296.9 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)