Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerTable.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Boilers.Examples.BoilerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|boi1.sta_a.T|boi1.sta_b.T|boi2.sta_b.T|boi1.eta|boi2.eta|y.y",fileNamePrefix="Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerTable") translateModel(Buildings.Fluid.Boilers.Examples.BoilerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|boi1.sta_a.T|boi1.sta_b.T|boi2.sta_b.T|boi1.eta|boi2.eta|y.y",fileNamePrefix="Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001752/0.001752, allocations: 119 kB / 16.42 MB, free: 6.473 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.00212/0.00212, allocations: 183.9 kB / 17.35 MB, free: 5.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.574/2.574, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 67.89 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.038/1.04, allocations: 151.6 MB / 1.167 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerTable): time 0.0681/1.108, allocations: 57.87 MB / 1.224 GB, free: 9.789 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01849/1.126, allocations: 11.88 MB / 1.235 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002693/1.129, allocations: 59.62 kB / 1.235 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004115/1.133, allocations: 1.276 MB / 1.237 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.006738/1.14, allocations: 2.226 MB / 1.239 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.005177/1.145, allocations: 1.61 MB / 1.24 GB, free: 8.723 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.007056/1.152, allocations: 3.912 MB / 1.244 GB, free: 4.793 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002742/1.155, allocations: 1.323 MB / 1.246 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004329/1.159, allocations: 1.476 MB / 1.247 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002605/1.162, allocations: 1.2 MB / 1.248 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0005697/1.162, allocations: 144 kB / 1.248 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004573/1.167, allocations: 1.638 MB / 1.25 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0008447/1.168, allocations: 0.5762 MB / 1.25 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.002074/1.17, allocations: 1.068 MB / 1.252 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.006747/1.177, allocations: 3.437 MB / 1.255 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/1.177, allocations: 0 / 1.255 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.154e-06/1.177, allocations: 0 / 1.255 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001046/1.177, allocations: 0 / 1.255 GB, free: 9.879 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.006192/1.183, allocations: 2.714 MB / 1.258 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/1.183, allocations: 8.031 kB / 1.258 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008304/1.184, allocations: 250 kB / 1.258 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003958/1.188, allocations: 1.929 MB / 1.26 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.307e-05/1.188, allocations: 70 kB / 1.26 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002389/1.188, allocations: 100 kB / 1.26 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002016/1.19, allocations: 1.027 MB / 1.261 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.736e-05/1.19, allocations: 0 / 1.261 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/1.191, allocations: 36 kB / 1.261 GB, free: 3.555 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.672e-05/1.191, allocations: 31.94 kB / 1.261 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001417/1.192, allocations: 0.7417 MB / 1.262 GB, free: 2.785 MB / 0.9825 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.007774/1.2, allocations: 4.772 MB / 1.266 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008778/1.201, allocations: 461 kB / 1.267 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004692/1.201, allocations: 326.4 kB / 1.267 GB, free: 13 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007071/1.202, allocations: 0.8239 MB / 1.268 GB, free: 12 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006563/1.203, allocations: 413.8 kB / 1.268 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=65): time 3.326e-06/1.203, allocations: 0 / 1.268 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of matching and sorting (n=67): time 0.005508/1.208, allocations: 2.556 MB / 1.271 GB, free: 8.895 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.659e-05/1.208, allocations: 119.4 kB / 1.271 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003827/1.212, allocations: 2.752 MB / 1.274 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001359/1.212, allocations: 45.7 kB / 1.274 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008406/1.213, allocations: 0.8954 MB / 1.274 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000248/1.213, allocations: 224.9 kB / 1.275 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002384/1.214, allocations: 166.4 kB / 1.275 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001299/1.214, allocations: 337.9 kB / 1.275 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004432/1.214, allocations: 272.7 kB / 1.275 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000594/1.215, allocations: 474.4 kB / 1.276 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009929/1.216, allocations: 0.8044 MB / 1.277 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-06/1.216, allocations: 4 kB / 1.277 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002027/1.218, allocations: 1.136 MB / 1.278 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.579e-05/1.218, allocations: 71.39 kB / 1.278 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/1.218, allocations: 4 kB / 1.278 GB, free: 1.336 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004927/1.218, allocations: 121.9 kB / 1.278 GB, free: 1.211 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004519/1.219, allocations: 131.8 kB / 1.278 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002175/1.221, allocations: 2.363 MB / 1.28 GB, free: 14.55 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/1.222, allocations: 43.91 kB / 1.28 GB, free: 14.51 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-05/1.222, allocations: 44.05 kB / 1.28 GB, free: 14.46 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001302/1.224, allocations: 0.7283 MB / 1.281 GB, free: 13.73 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006463/1.224, allocations: 485.6 kB / 1.282 GB, free: 13.17 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001017/1.225, allocations: 0.7927 MB / 1.282 GB, free: 12.29 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.436e-06/1.225, allocations: 0 / 1.282 GB, free: 12.29 MB / 1.014 GB Notification: Performance of matching and sorting (n=100) (initialization_lambda0): time 0.002089/1.228, allocations: 1.129 MB / 1.283 GB, free: 11.14 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.359e-05/1.228, allocations: 75.45 kB / 1.284 GB, free: 11.05 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/1.228, allocations: 4 kB / 1.284 GB, free: 11.05 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004574/1.228, allocations: 121.7 kB / 1.284 GB, free: 10.93 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004329/1.229, allocations: 127.8 kB / 1.284 GB, free: 10.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001957/1.23, allocations: 2.371 MB / 1.286 GB, free: 8.27 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/1.232, allocations: 55.95 kB / 1.286 GB, free: 8.215 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.617e-05/1.232, allocations: 31.98 kB / 1.286 GB, free: 8.184 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 14 (TIn.nextEventScaled,TIn.nextEvent,$PRE.TIn.nextEvent,TIn.last,TIn.b,TIn.a,y.nextEventScaled,y.nextEvent,$PRE.y.nextEvent,y.last,y.b,y.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * 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): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0004069/1.232, allocations: 308.6 kB / 1.287 GB, free: 7.863 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006166/1.233, allocations: 205.4 kB / 1.287 GB, free: 7.66 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002321/1.235, allocations: 1.171 MB / 1.288 GB, free: 6.457 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001331/1.237, allocations: 0.9223 MB / 1.289 GB, free: 5.484 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/1.237, allocations: 4 kB / 1.289 GB, free: 5.48 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001085/1.238, allocations: 394.5 kB / 1.289 GB, free: 5.074 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002556/1.238, allocations: 24.11 kB / 1.289 GB, free: 5.051 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006627/1.239, allocations: 31.97 kB / 1.289 GB, free: 5.02 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.848e-05/1.239, allocations: 44.5 kB / 1.289 GB, free: 4.977 MB / 1.014 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001911/1.241, allocations: 1.141 MB / 1.29 GB, free: 3.781 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002064/1.243, allocations: 1.512 MB / 1.292 GB, free: 2.242 MB / 1.014 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005166/1.243, allocations: 352.4 kB / 1.292 GB, free: 1.895 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00298/1.246, allocations: 1.96 MB / 1.294 GB, free: 15.91 MB / 1.029 GB Notification: Performance of Backend: time 1.021e-06/1.246, allocations: 0 / 1.294 GB, free: 15.91 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00594/1.252, allocations: 2.497 MB / 1.297 GB, free: 13.51 MB / 1.029 GB Notification: Performance of SimCode: time 0.007652/1.26, allocations: 4.352 MB / 1.301 GB, free: 9.086 MB / 1.029 GB Notification: Performance of Templates: time 0.06554/1.325, allocations: 36.85 MB / 1.337 GB, free: 4.527 MB / 1.061 GB make -j1 -f Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerTable.makefile (rm -f Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe ; mkfifo Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe >> ../files/Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerTable.sim & ./Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe 2>&1)