Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.598/1.598, allocations: 287.4 MB / 303.2 MB, free: 8.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001023/0.001023, allocations: 183.9 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.451/1.451, allocations: 205.4 MB / 0.6304 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008889/0.0008887, allocations: 83.22 kB / 0.7438 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003997/0.0003997, allocations: 16.8 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.193, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u): time 0.7098/0.9029, allocations: 237.7 MB / 1.211 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.02768/0.9306, allocations: 18.36 MB / 1.229 GB, free: 11.06 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00356/0.9342, allocations: 74.62 kB / 1.229 GB, free: 11.03 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.003881/0.9381, allocations: 0.9556 MB / 1.23 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.01013/0.9483, allocations: 2.927 MB / 1.233 GB, free: 7.781 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.009276/0.9575, allocations: 2.869 MB / 1.236 GB, free: 4.938 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.009227/0.9668, allocations: 6.737 MB / 1.243 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003595/0.9704, allocations: 1.756 MB / 1.244 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00567/0.9761, allocations: 2.186 MB / 1.246 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003453/0.9796, allocations: 1.688 MB / 1.248 GB, free: 8.496 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0008032/0.9804, allocations: 92 kB / 1.248 GB, free: 8.406 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007/0.9875, allocations: 2.487 MB / 1.251 GB, free: 5.914 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.001543/0.989, allocations: 0.7124 MB / 1.251 GB, free: 5.199 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.001344/0.9904, allocations: 0.5121 MB / 1.252 GB, free: 4.68 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.006744/0.9972, allocations: 3.585 MB / 1.255 GB, free: 1.086 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.9972, allocations: 0 / 1.255 GB, free: 1.086 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.385e-06/0.9972, allocations: 0 / 1.255 GB, free: 1.086 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001768/0.9974, allocations: 4 kB / 1.255 GB, free: 1.082 MB / 0.7761 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.007021/1.004, allocations: 2.694 MB / 1.258 GB, free: 14.31 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 6.961e-05/1.005, allocations: 12.03 kB / 1.258 GB, free: 14.3 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005948/1.01, allocations: 0.8203 MB / 1.259 GB, free: 13.48 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004733/1.015, allocations: 1.8 MB / 1.261 GB, free: 11.63 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004478/1.016, allocations: 186.9 kB / 1.261 GB, free: 11.45 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004869/1.016, allocations: 164 kB / 1.261 GB, free: 11.29 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00439/1.021, allocations: 1.866 MB / 1.263 GB, free: 9.352 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.629e-05/1.021, allocations: 3.938 kB / 1.263 GB, free: 9.348 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002161/1.021, allocations: 64 kB / 1.263 GB, free: 9.285 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-05/1.021, allocations: 54.91 kB / 1.263 GB, free: 9.23 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003771/1.025, allocations: 1.608 MB / 1.264 GB, free: 7.617 MB / 0.7917 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.01344/1.038, allocations: 8.365 MB / 1.273 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002898/1.041, allocations: 1.836 MB / 1.274 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001392/1.043, allocations: 0.6837 MB / 1.275 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005455/1.043, allocations: 243.1 kB / 1.275 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001506/1.045, allocations: 0.6922 MB / 1.276 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001118/1.046, allocations: 131 kB / 1.276 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=101): time 7.003e-06/1.046, allocations: 3.938 kB / 1.276 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of matching and sorting (n=104): time 0.01018/1.056, allocations: 3.743 MB / 1.28 GB, free: 7.02 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.032e-05/1.056, allocations: 141.5 kB / 1.28 GB, free: 6.848 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002907/1.059, allocations: 1.597 MB / 1.281 GB, free: 5.207 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0001775/1.059, allocations: 53.7 kB / 1.281 GB, free: 5.148 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009857/1.06, allocations: 0.9677 MB / 1.282 GB, free: 4.168 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004578/1.061, allocations: 370.6 kB / 1.283 GB, free: 3.801 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.95e-05/1.061, allocations: 24 kB / 1.283 GB, free: 3.777 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001984/1.061, allocations: 357.9 kB / 1.283 GB, free: 3.422 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001393/1.063, allocations: 0.5647 MB / 1.284 GB, free: 2.855 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001624/1.064, allocations: 0.9303 MB / 1.285 GB, free: 1.781 MB / 0.8073 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.0166/1.081, allocations: 4.697 MB / 1.289 GB, free: 12.95 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/1.081, allocations: 4 kB / 1.289 GB, free: 12.94 MB / 0.823 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.004338/1.085, allocations: 1.757 MB / 1.291 GB, free: 11.17 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002567/1.085, allocations: 343 kB / 1.291 GB, free: 10.72 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.859e-05/1.086, allocations: 8 kB / 1.291 GB, free: 10.71 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002311/1.086, allocations: 52.77 kB / 1.291 GB, free: 10.66 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001358/1.087, allocations: 303.6 kB / 1.292 GB, free: 10.36 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001393/1.089, allocations: 1.514 MB / 1.293 GB, free: 8.719 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002147/1.091, allocations: 196.3 kB / 1.293 GB, free: 8.527 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001411/1.091, allocations: 51.98 kB / 1.293 GB, free: 8.477 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 8.175e-06/1.091, allocations: 4 kB / 1.293 GB, free: 8.473 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003351/1.094, allocations: 1.566 MB / 1.295 GB, free: 6.895 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.603e-05/1.094, allocations: 8.312 kB / 1.295 GB, free: 6.887 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001692/1.094, allocations: 52.92 kB / 1.295 GB, free: 6.832 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/1.096, allocations: 307.6 kB / 1.295 GB, free: 6.531 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001243/1.097, allocations: 1.518 MB / 1.297 GB, free: 4.879 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002047/1.099, allocations: 189.7 kB / 1.297 GB, free: 4.695 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001237/1.099, allocations: 55.98 kB / 1.297 GB, free: 4.641 MB / 0.823 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: 33 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.TSet.T_start,$PRE.TSet.count,$whenCondition1,TSet.T_start,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 (152): * Single equations (assignments): 146 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001103/1.1, allocations: 0.5904 MB / 1.297 GB, free: 4.039 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004389/1.101, allocations: 197.5 kB / 1.298 GB, free: 3.844 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003429/1.104, allocations: 1.471 MB / 1.299 GB, free: 2.359 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002618/1.107, allocations: 1.215 MB / 1.3 GB, free: 1.125 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/1.107, allocations: 4 kB / 1.3 GB, free: 1.121 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009589/1.108, allocations: 386.5 kB / 1.301 GB, free: 0.7227 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003912/1.108, allocations: 27.94 kB / 1.301 GB, free: 0.6953 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001609/1.11, allocations: 159.7 kB / 1.301 GB, free: 0.5391 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00017/1.11, allocations: 73.03 kB / 1.301 GB, free: 480 kB / 0.823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004025/1.114, allocations: 1.573 MB / 1.302 GB, free: 14.88 MB / 0.8386 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004401/1.118, allocations: 2.294 MB / 1.305 GB, free: 12.57 MB / 0.8386 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00118/1.12, allocations: 0.6129 MB / 1.305 GB, free: 11.95 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001954/1.122, allocations: 1.079 MB / 1.306 GB, free: 10.85 MB / 0.8386 GB Notification: Performance of Backend: time 7.51e-07/1.122, allocations: 0 / 1.306 GB, free: 10.85 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.007862/1.129, allocations: 2.953 MB / 1.309 GB, free: 7.848 MB / 0.8386 GB Notification: Performance of SimCode: time 0.01053/1.14, allocations: 5.66 MB / 1.315 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of Templates: time 0.0812/1.221, allocations: 48.78 MB / 1.362 GB, free: 1.637 MB / 0.8855 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)