Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001534/0.001534, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.001808/0.001808, allocations: 183.9 kB / 17.35 MB, free: 5.738 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.302/1.302, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.135/2.135, allocations: 390.3 MB / 0.6655 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 63.89 kB / 0.9515 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6589/0.6601, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvection): time 0.2124/0.8726, allocations: 210.4 MB / 1.294 GB, free: 11.16 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.04805/0.9207, allocations: 33.02 MB / 1.326 GB, free: 10.05 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009731/0.9305, allocations: 318.2 kB / 1.327 GB, free: 9.734 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.007758/0.9383, allocations: 3.036 MB / 1.33 GB, free: 6.684 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.007855/0.9462, allocations: 2.859 MB / 1.332 GB, free: 3.812 MB / 1.061 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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 9.1.3-maint.9.1.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.007439/0.9536, allocations: 2.797 MB / 1.335 GB, free: 1.023 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01298/0.9666, allocations: 11.94 MB / 1.347 GB, free: 5.059 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006226/0.9729, allocations: 4.796 MB / 1.351 GB, free: 176 kB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005118/0.978, allocations: 3.65 MB / 1.355 GB, free: 12.51 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005497/0.9835, allocations: 3.941 MB / 1.359 GB, free: 8.555 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001613/0.9851, allocations: 0.6445 MB / 1.36 GB, free: 7.91 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004533/0.9897, allocations: 2.052 MB / 1.362 GB, free: 5.855 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.002117/0.9918, allocations: 2.15 MB / 1.364 GB, free: 3.699 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.004147/0.996, allocations: 3.976 MB / 1.367 GB, free: 15.7 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01306/1.009, allocations: 12.95 MB / 1.38 GB, free: 2.715 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/1.009, allocations: 0 / 1.38 GB, free: 2.715 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.763e-06/1.009, allocations: 4 kB / 1.38 GB, free: 2.711 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.000235/1.009, allocations: 0 / 1.38 GB, free: 2.711 MB / 1.107 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.01727/1.027, allocations: 9.677 MB / 1.39 GB, free: 8.809 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/1.027, allocations: 16.03 kB / 1.39 GB, free: 8.793 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003106/1.03, allocations: 0.9934 MB / 1.391 GB, free: 7.789 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01242/1.042, allocations: 7.554 MB / 1.398 GB, free: 144 kB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002009/1.042, allocations: 224.8 kB / 1.398 GB, free: 15.91 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005082/1.043, allocations: 308 kB / 1.398 GB, free: 15.61 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006241/1.049, allocations: 3.6 MB / 1.402 GB, free: 11.79 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.764e-05/1.049, allocations: 19.78 kB / 1.402 GB, free: 11.77 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002513/1.05, allocations: 112 kB / 1.402 GB, free: 11.66 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.005e-05/1.05, allocations: 90.78 kB / 1.402 GB, free: 11.57 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005883/1.056, allocations: 3.441 MB / 1.406 GB, free: 8.125 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02563/1.081, allocations: 16.07 MB / 1.421 GB, free: 7.773 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005998/1.087, allocations: 2.867 MB / 1.424 GB, free: 4.895 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002778/1.09, allocations: 1.506 MB / 1.426 GB, free: 3.387 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004586/1.09, allocations: 324.8 kB / 1.426 GB, free: 3.012 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003237/1.094, allocations: 1.75 MB / 1.428 GB, free: 1.234 MB / 1.154 GB Notification: Performance of pre-optimization done (n=212): time 4.158e-06/1.094, allocations: 7.938 kB / 1.428 GB, free: 1.227 MB / 1.154 GB Notification: Performance of matching and sorting (n=212): time 0.01411/1.108, allocations: 5.77 MB / 1.433 GB, free: 11.38 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001722/1.108, allocations: 372.6 kB / 1.434 GB, free: 10.95 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01513/1.123, allocations: 10.34 MB / 1.444 GB, free: 0.6523 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0006661/1.124, allocations: 129.7 kB / 1.444 GB, free: 0.5195 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.003304/1.127, allocations: 3.264 MB / 1.447 GB, free: 13.24 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007199/1.128, allocations: 0.6861 MB / 1.448 GB, free: 12.54 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001149/1.129, allocations: 0.8174 MB / 1.448 GB, free: 11.72 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 8.814e-05/1.129, allocations: 309.1 kB / 1.449 GB, free: 11.41 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00284/1.132, allocations: 1.885 MB / 1.451 GB, free: 9.527 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003717/1.136, allocations: 3.031 MB / 1.453 GB, free: 6.117 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005331/1.141, allocations: 4.215 MB / 1.458 GB, free: 1.527 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.618e-05/1.141, allocations: 8 kB / 1.458 GB, free: 1.52 MB / 1.186 GB Notification: Performance of matching and sorting (n=489) (initialization): time 0.0107/1.152, allocations: 6.184 MB / 1.464 GB, free: 11.3 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 5.877e-05/1.152, allocations: 41.7 kB / 1.464 GB, free: 11.25 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.458e-05/1.152, allocations: 24 kB / 1.464 GB, free: 11.23 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002285/1.154, allocations: 0.6577 MB / 1.464 GB, free: 10.57 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002733/1.157, allocations: 0.7331 MB / 1.465 GB, free: 9.832 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008078/1.165, allocations: 6.347 MB / 1.471 GB, free: 3.191 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004176/1.169, allocations: 0.507 MB / 1.472 GB, free: 2.68 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002976/1.17, allocations: 172 kB / 1.472 GB, free: 2.512 MB / 1.201 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.003874/1.173, allocations: 2.79 MB / 1.475 GB, free: 15.7 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001119/1.175, allocations: 0.7366 MB / 1.475 GB, free: 14.95 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003455/1.178, allocations: 1.748 MB / 1.477 GB, free: 13.19 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.161e-05/1.178, allocations: 11.97 kB / 1.477 GB, free: 13.18 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/1.178, allocations: 4 kB / 1.477 GB, free: 13.18 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002596/1.181, allocations: 1.483 MB / 1.479 GB, free: 11.66 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008729/1.182, allocations: 131.9 kB / 1.479 GB, free: 11.54 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002389/1.184, allocations: 171.7 kB / 1.479 GB, free: 11.37 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003005/1.184, allocations: 153.8 kB / 1.479 GB, free: 11.22 MB / 1.217 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008585/1.193, allocations: 4.458 MB / 1.483 GB, free: 6.727 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01/1.203, allocations: 6.15 MB / 1.489 GB, free: 0.5195 MB / 1.217 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00269/1.206, allocations: 1.613 MB / 1.491 GB, free: 14.9 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.009627/1.215, allocations: 7.22 MB / 1.498 GB, free: 7.719 MB / 1.232 GB Notification: Performance of Backend: time 4.41e-07/1.215, allocations: 4 kB / 1.498 GB, free: 7.715 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.009873/1.225, allocations: 4.389 MB / 1.502 GB, free: 3.562 MB / 1.232 GB Notification: Performance of SimCode: time 0.02374/1.249, allocations: 16.26 MB / 1.518 GB, free: 3.332 MB / 1.248 GB Notification: Performance of Templates: time 0.5977/1.847, allocations: 110.6 MB / 1.626 GB, free: 424.2 MB / 1.311 GB make -j1 -f Buildings_9_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvection.makefile (rm -f Buildings_9_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvection.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvection.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvection.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvection.sim & ./Buildings_9_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvection.pipe 2>&1)