Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvection.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.ThermalZones.Detailed.Examples.FFD.ForcedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|roo.yCFD.2.",fileNamePrefix="Buildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvection") translateModel(Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|roo.yCFD.2.",fileNamePrefix="Buildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001645/0.001651, allocations: 106 kB / 16.41 MB, free: 6.457 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.001888/0.001888, allocations: 192.3 kB / 17.35 MB, free: 5.715 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.372/1.372, allocations: 222.9 MB / 241 MB, free: 15.09 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.433/2.433, allocations: 437.1 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 59.91 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6993/0.7007, allocations: 151.6 MB / 1.167 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvection): time 0.2116/0.9124, allocations: 213.8 MB / 1.376 GB, free: 13.14 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.05111/0.9635, allocations: 33.7 MB / 1.409 GB, free: 11.33 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01062/0.9742, allocations: 318.2 kB / 1.409 GB, free: 11.02 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.00881/0.9831, allocations: 3.042 MB / 1.412 GB, free: 7.965 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.00807/0.9912, allocations: 2.889 MB / 1.415 GB, free: 5.062 MB / 1.139 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/ThermalZones/Detailed/BaseClasses/CFDExchange.mo:64:3-114:21:writable] Warning: Pure function 'Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvection.roo.air.cfd.sendParameters' contains a call to impure function 'Buildings.ThermalZones.Detailed.BaseClasses.cfdStartCosimulation'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/ThermalZones/Detailed/BaseClasses/CFDExchange.mo:119:3-142:15:writable] Warning: Pure function 'Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvection.roo.air.cfd.exchange' contains a call to impure function 'Buildings.ThermalZones.Detailed.BaseClasses.cfdExchangeData'. Notification: Performance of NFTyping.typeClassSections: time 0.007505/0.9987, allocations: 2.831 MB / 1.418 GB, free: 2.238 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0128/1.012, allocations: 12.04 MB / 1.43 GB, free: 6.176 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006332/1.018, allocations: 4.75 MB / 1.434 GB, free: 1.336 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005237/1.023, allocations: 3.662 MB / 1.438 GB, free: 13.66 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005694/1.029, allocations: 3.959 MB / 1.442 GB, free: 9.684 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.002242/1.031, allocations: 0.6445 MB / 1.442 GB, free: 9.039 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005877/1.037, allocations: 2.06 MB / 1.444 GB, free: 6.98 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.003257/1.04, allocations: 2.146 MB / 1.446 GB, free: 4.828 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.009126/1.049, allocations: 3.999 MB / 1.45 GB, free: 0.8086 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0161/1.066, allocations: 12.97 MB / 1.463 GB, free: 3.793 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/1.066, allocations: 0 / 1.463 GB, free: 3.793 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.763e-06/1.066, allocations: 0 / 1.463 GB, free: 3.793 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0003174/1.066, allocations: 0 / 1.463 GB, free: 3.793 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 620 * Number of variables: 620 Notification: Performance of Generate backend data structure: time 0.02136/1.087, allocations: 9.681 MB / 1.473 GB, free: 9.887 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/1.087, allocations: 12.92 kB / 1.473 GB, free: 9.875 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003482/1.091, allocations: 1.001 MB / 1.474 GB, free: 8.863 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01323/1.104, allocations: 7.546 MB / 1.481 GB, free: 1.227 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001765/1.104, allocations: 232.6 kB / 1.481 GB, free: 0.9961 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004826/1.105, allocations: 304 kB / 1.481 GB, free: 0.6992 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006178/1.111, allocations: 3.608 MB / 1.485 GB, free: 12.86 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.878e-05/1.111, allocations: 15.84 kB / 1.485 GB, free: 12.85 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000246/1.111, allocations: 107.9 kB / 1.485 GB, free: 12.75 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.362e-05/1.111, allocations: 90.78 kB / 1.485 GB, free: 12.66 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006056/1.117, allocations: 3.445 MB / 1.488 GB, free: 9.203 MB / 1.217 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.02506/1.142, allocations: 16.28 MB / 1.504 GB, free: 8.582 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005827/1.148, allocations: 2.867 MB / 1.507 GB, free: 5.711 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002772/1.151, allocations: 1.505 MB / 1.509 GB, free: 4.203 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004496/1.152, allocations: 320.9 kB / 1.509 GB, free: 3.832 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00332/1.155, allocations: 1.754 MB / 1.511 GB, free: 2.051 MB / 1.232 GB Notification: Performance of pre-optimization done (n=212): time 4.289e-06/1.155, allocations: 0 / 1.511 GB, free: 2.051 MB / 1.232 GB Notification: Performance of matching and sorting (n=212): time 0.0142/1.169, allocations: 5.778 MB / 1.516 GB, free: 12.21 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001786/1.169, allocations: 368.6 kB / 1.517 GB, free: 11.78 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01409/1.183, allocations: 10.34 MB / 1.527 GB, free: 1.48 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0005397/1.184, allocations: 133.6 kB / 1.527 GB, free: 1.344 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.00321/1.187, allocations: 3.261 MB / 1.53 GB, free: 14.07 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.00064/1.188, allocations: 0.686 MB / 1.531 GB, free: 13.37 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001161/1.189, allocations: 0.829 MB / 1.532 GB, free: 12.54 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 8.314e-05/1.189, allocations: 305.1 kB / 1.532 GB, free: 12.23 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002859/1.192, allocations: 1.881 MB / 1.534 GB, free: 10.35 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003715/1.196, allocations: 3.035 MB / 1.537 GB, free: 6.938 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005389/1.201, allocations: 4.213 MB / 1.541 GB, free: 2.336 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-05/1.201, allocations: 8 kB / 1.541 GB, free: 2.328 MB / 1.264 GB Notification: Performance of matching and sorting (n=489) (initialization): time 0.01083/1.212, allocations: 6.183 MB / 1.547 GB, free: 12.11 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 4.995e-05/1.212, allocations: 45.69 kB / 1.547 GB, free: 12.06 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.191e-05/1.212, allocations: 28 kB / 1.547 GB, free: 12.04 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002367/1.214, allocations: 0.6619 MB / 1.548 GB, free: 11.37 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002819/1.217, allocations: 0.7215 MB / 1.548 GB, free: 10.64 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008469/1.226, allocations: 6.348 MB / 1.554 GB, free: 4.004 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004356/1.23, allocations: 0.5207 MB / 1.555 GB, free: 3.48 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000359/1.23, allocations: 164 kB / 1.555 GB, free: 3.32 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 119 * Number of states: 0 () * Number of discrete variables: 112 (roo.air.cfd.uIntPre[15],$PRE.roo.air.cfd.uIntPre[15],roo.air.cfd.uIntPre[14],$PRE.roo.air.cfd.uIntPre[14],roo.air.cfd.uIntPre[13],$PRE.roo.air.cfd.uIntPre[13],roo.air.cfd.uIntPre[12],$PRE.roo.air.cfd.uIntPre[12],roo.air.cfd.uIntPre[11],$PRE.roo.air.cfd.uIntPre[11],roo.air.cfd.uIntPre[10],$PRE.roo.air.cfd.uIntPre[10],roo.air.cfd.uIntPre[9],$PRE.roo.air.cfd.uIntPre[9],roo.air.cfd.uIntPre[8],$PRE.roo.air.cfd.uIntPre[8],roo.air.cfd.uIntPre[7],$PRE.roo.air.cfd.uIntPre[7],roo.air.cfd.uIntPre[6],$PRE.roo.air.cfd.uIntPre[6],roo.air.cfd.uIntPre[5],$PRE.roo.air.cfd.uIntPre[5],roo.air.cfd.uIntPre[4],$PRE.roo.air.cfd.uIntPre[4],roo.air.cfd.uIntPre[3],$PRE.roo.air.cfd.uIntPre[3],roo.air.cfd.uIntPre[2],$PRE.roo.air.cfd.uIntPre[2],roo.air.cfd.uIntPre[1],$PRE.roo.air.cfd.uIntPre[1],roo.air.cfd.firstTrigger,$PRE.roo.air.cfd.firstTrigger,roo.air.cfd.retVal,$PRE.roo.air.cfd.retVal,roo.air.cfd.modTimRea,$PRE.roo.air.cfd.modTimRea,roo.air.cfd.uWri[15],$PRE.roo.air.cfd.uWri[15],roo.air.cfd.uWri[14],$PRE.roo.air.cfd.uWri[14],roo.air.cfd.uWri[13],$PRE.roo.air.cfd.uWri[13],roo.air.cfd.uWri[12],$PRE.roo.air.cfd.uWri[12],roo.air.cfd.uWri[10],$PRE.roo.air.cfd.uWri[10],roo.air.cfd.uWri[9],$PRE.roo.air.cfd.uWri[9],roo.air.cfd.uWri[6],$PRE.roo.air.cfd.uWri[6],roo.air.cfd.uWri[5],$PRE.roo.air.cfd.uWri[5],roo.air.cfd.uWri[4],$PRE.roo.air.cfd.uWri[4],roo.air.cfd.uWri[3],$PRE.roo.air.cfd.uWri[3],roo.air.cfd.uWri[2],$PRE.roo.air.cfd.uWri[2],roo.air.cfd.uWri[1],$PRE.roo.air.cfd.uWri[1],roo.air.cfd.sampleTrigger,$whenCondition6,$whenCondition7,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,roo.air.cfd.y[13],$PRE.roo.air.cfd.y[13],roo.air.cfd.y[12],$PRE.roo.air.cfd.y[12],roo.air.cfd.y[7],$PRE.roo.air.cfd.y[7],roo.air.cfd.uWri[11],$PRE.roo.air.cfd.uWri[11],roo.air.cfd.y[11],$PRE.roo.air.cfd.y[11],roo.air.cfd.y[10],$PRE.roo.air.cfd.y[10],roo.air.cfd.y[9],$PRE.roo.air.cfd.y[9],roo.air.cfd.y[8],$PRE.roo.air.cfd.y[8],roo.air.cfd.uWri[8],$PRE.roo.air.cfd.uWri[8],roo.air.cfd.y[6],$PRE.roo.air.cfd.y[6],roo.air.cfd.y[5],$PRE.roo.air.cfd.y[5],roo.air.cfd.y[4],$PRE.roo.air.cfd.y[4],roo.air.cfd.y[3],$PRE.roo.air.cfd.y[3],roo.air.cfd.y[2],$PRE.roo.air.cfd.y[2],roo.air.cfd.y[1],$PRE.roo.air.cfd.y[1],roo.air.cfd.uWri[7],$PRE.roo.air.cfd.uWri[7]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (476): * Single equations (assignments): 473 * Array equations: 0 * Algorithm blocks: 1 * 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 {(5,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.004191/1.235, allocations: 2.799 MB / 1.558 GB, free: 0.4961 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.5413/1.776, allocations: 0.7287 MB / 1.559 GB, free: 377.3 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004983/1.781, allocations: 1.742 MB / 1.56 GB, free: 377.2 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.952e-05/1.781, allocations: 11.53 kB / 1.56 GB, free: 377.2 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/1.781, allocations: 3.125 kB / 1.56 GB, free: 377.2 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004036/1.785, allocations: 1.48 MB / 1.562 GB, free: 377 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001612/1.787, allocations: 128.5 kB / 1.562 GB, free: 376.9 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002691/1.789, allocations: 171.2 kB / 1.562 GB, free: 376.9 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003852/1.79, allocations: 156 kB / 1.562 GB, free: 376.8 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008641/1.798, allocations: 4.453 MB / 1.566 GB, free: 375.3 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01063/1.809, allocations: 6.145 MB / 1.572 GB, free: 372.7 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002563/1.812, allocations: 1.619 MB / 1.574 GB, free: 372.1 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.01029/1.822, allocations: 7.221 MB / 1.581 GB, free: 368.8 MB / 1.279 GB Notification: Performance of Backend: time 9.22e-07/1.822, allocations: 0 / 1.581 GB, free: 368.8 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.0103/1.832, allocations: 4.396 MB / 1.585 GB, free: 365.1 MB / 1.279 GB Notification: Performance of SimCode: time 0.02234/1.855, allocations: 16.26 MB / 1.601 GB, free: 348.9 MB / 1.279 GB Notification: Performance of Templates: time 0.1401/1.995, allocations: 110.8 MB / 1.71 GB, free: 239.1 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvection.makefile (rm -f Buildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvection.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvection.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvection.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvection.sim & ./Buildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvection.pipe 2>&1)