Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001795/0.001795, allocations: 121.1 kB / 16.82 MB, free: 5.754 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.001935/0.001935, allocations: 196.7 kB / 17.77 MB, free: 5.125 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.424/1.424, allocations: 225.6 MB / 244.2 MB, free: 13.9 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.697/2.697, allocations: 476.7 MB / 0.7556 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 64.45 kB / 1.097 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3245, allocations: 168.7 MB / 1.262 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvection): time 0.2553/0.5798, allocations: 214.5 MB / 1.472 GB, free: 5.664 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.0619/0.6417, allocations: 33.8 MB / 1.505 GB, free: 3.754 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01123/0.6529, allocations: 318.2 kB / 1.505 GB, free: 3.441 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.00946/0.6624, allocations: 3.067 MB / 1.508 GB, free: 368 kB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.009271/0.6717, allocations: 2.913 MB / 1.511 GB, free: 13.43 MB / 1.232 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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 11.1.0-maint.11.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.008559/0.6802, allocations: 2.959 MB / 1.514 GB, free: 10.48 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.01595/0.6962, allocations: 12 MB / 1.525 GB, free: 14.46 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007367/0.7036, allocations: 3.754 MB / 1.529 GB, free: 10.62 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006388/0.7099, allocations: 3.654 MB / 1.533 GB, free: 6.949 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006936/0.7169, allocations: 4.082 MB / 1.537 GB, free: 2.855 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.002128/0.719, allocations: 0.6367 MB / 1.537 GB, free: 2.219 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005733/0.7247, allocations: 2.106 MB / 1.539 GB, free: 112 kB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.003527/0.7283, allocations: 2.157 MB / 1.541 GB, free: 13.94 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.007543/0.7358, allocations: 3.96 MB / 1.545 GB, free: 9.961 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.649/1.385, allocations: 13.04 MB / 1.558 GB, free: 33.68 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/1.385, allocations: 2.25 kB / 1.558 GB, free: 33.68 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.154e-06/1.385, allocations: 0 / 1.558 GB, free: 33.68 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0004283/1.385, allocations: 3.828 kB / 1.558 GB, free: 33.68 MB / 1.264 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.02364/1.409, allocations: 9.953 MB / 1.568 GB, free: 29.09 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/1.409, allocations: 10.12 kB / 1.568 GB, free: 29.09 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004637/1.414, allocations: 1.038 MB / 1.569 GB, free: 28.61 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01507/1.429, allocations: 7.584 MB / 1.576 GB, free: 27.2 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002199/1.429, allocations: 222.8 kB / 1.576 GB, free: 27.19 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008147/1.43, allocations: 309.2 kB / 1.577 GB, free: 27.19 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006805/1.436, allocations: 3.611 MB / 1.58 GB, free: 26.61 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-05/1.437, allocations: 17.58 kB / 1.58 GB, free: 26.61 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002839/1.437, allocations: 108.6 kB / 1.58 GB, free: 26.61 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001022/1.437, allocations: 88.95 kB / 1.58 GB, free: 26.6 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005871/1.443, allocations: 3.445 MB / 1.584 GB, free: 26.58 MB / 1.264 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.02645/1.469, allocations: 16.25 MB / 1.6 GB, free: 21.31 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005452/1.475, allocations: 2.676 MB / 1.602 GB, free: 21.25 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002479/1.477, allocations: 1.34 MB / 1.603 GB, free: 21.24 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003783/1.478, allocations: 321.4 kB / 1.604 GB, free: 20.96 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002846/1.48, allocations: 1.76 MB / 1.605 GB, free: 20.82 MB / 1.264 GB Notification: Performance of pre-optimization done (n=212): time 4.198e-06/1.48, allocations: 1.094 kB / 1.605 GB, free: 20.82 MB / 1.264 GB Notification: Performance of matching and sorting (n=212): time 0.01375/1.494, allocations: 5.802 MB / 1.611 GB, free: 20.05 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/1.494, allocations: 370.5 kB / 1.611 GB, free: 19.71 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01366/1.508, allocations: 10.29 MB / 1.622 GB, free: 19.16 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.001039/1.509, allocations: 135.1 kB / 1.622 GB, free: 19.12 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.003255/1.512, allocations: 3.297 MB / 1.625 GB, free: 18.64 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008462/1.513, allocations: 0.7177 MB / 1.626 GB, free: 18.2 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001209/1.514, allocations: 0.8319 MB / 1.626 GB, free: 18.14 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 3.344e-05/1.514, allocations: 301.1 kB / 1.627 GB, free: 17.85 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002576/1.517, allocations: 1.885 MB / 1.629 GB, free: 17.84 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003105/1.52, allocations: 3.031 MB / 1.631 GB, free: 16.82 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004539/1.525, allocations: 4.205 MB / 1.636 GB, free: 15.79 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.902e-05/1.525, allocations: 7.875 kB / 1.636 GB, free: 15.79 MB / 1.264 GB Notification: Performance of matching and sorting (n=489) (initialization): time 0.01051/1.535, allocations: 6.212 MB / 1.642 GB, free: 15.2 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 4.92e-05/1.535, allocations: 39.86 kB / 1.642 GB, free: 15.16 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.701e-05/1.535, allocations: 28 kB / 1.642 GB, free: 15.16 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002117/1.537, allocations: 0.6581 MB / 1.642 GB, free: 15.14 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002706/1.54, allocations: 0.7321 MB / 1.643 GB, free: 15.14 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007002/1.547, allocations: 6.363 MB / 1.649 GB, free: 11.84 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005642/1.553, allocations: 0.5171 MB / 1.65 GB, free: 11.54 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007103/1.553, allocations: 167.4 kB / 1.65 GB, free: 11.5 MB / 1.264 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.004294/1.558, allocations: 2.791 MB / 1.653 GB, free: 10.3 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001889/1.559, allocations: 0.7773 MB / 1.653 GB, free: 9.852 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003754/1.563, allocations: 1.758 MB / 1.655 GB, free: 9.152 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.888e-05/1.563, allocations: 11.44 kB / 1.655 GB, free: 9.152 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/1.563, allocations: 2.875 kB / 1.655 GB, free: 9.152 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003019/1.566, allocations: 1.497 MB / 1.657 GB, free: 8.25 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001566/1.568, allocations: 130.6 kB / 1.657 GB, free: 8.188 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002658/1.571, allocations: 189.6 kB / 1.657 GB, free: 8.145 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003143/1.571, allocations: 147.2 kB / 1.657 GB, free: 8.129 MB / 1.264 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007902/1.579, allocations: 4.454 MB / 1.661 GB, free: 6.492 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0101/1.589, allocations: 6.192 MB / 1.667 GB, free: 3.855 MB / 1.264 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002403/1.591, allocations: 1.363 MB / 1.669 GB, free: 3.387 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.01052/1.602, allocations: 7.189 MB / 1.676 GB, free: 0.9414 MB / 1.264 GB Notification: Performance of Backend: time 5.72e-07/1.602, allocations: 1.375 kB / 1.676 GB, free: 0.9414 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0131/1.615, allocations: 4.172 MB / 1.68 GB, free: 15.54 MB / 1.279 GB Notification: Performance of SimCode: time 0.03113/1.646, allocations: 16.5 MB / 1.696 GB, free: 0.7891 MB / 1.279 GB Notification: Performance of Templates: time 0.1978/1.844, allocations: 111.7 MB / 1.805 GB, free: 2.418 MB / 1.389 GB make -j1 -f Buildings_11_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvection.makefile (rm -f Buildings_11_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvection.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvection.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvection.pipe >> ../files/Buildings_11_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvection.sim & ./Buildings_11_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvection -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvection.pipe 2>&1)