Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001503/0.001503, allocations: 115.3 kB / 16.42 MB, free: 6.496 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.001614/0.001614, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.341/1.341, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.632/2.632, allocations: 472.7 MB / 0.746 GB, free: 500 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 67.89 kB / 1.07 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7274/0.7288, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvection): time 0.2135/0.9423, allocations: 213.8 MB / 1.435 GB, free: 6.918 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.05056/0.9929, allocations: 33.71 MB / 1.468 GB, free: 5.102 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01359/1.007, allocations: 314.2 kB / 1.468 GB, free: 4.793 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.01046/1.017, allocations: 3.047 MB / 1.471 GB, free: 1.73 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.01186/1.029, allocations: 2.894 MB / 1.474 GB, free: 14.82 MB / 1.201 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 12.0.0-master/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.007879/1.037, allocations: 2.822 MB / 1.477 GB, free: 12.01 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.01474/1.052, allocations: 12.05 MB / 1.489 GB, free: 15.95 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007232/1.059, allocations: 4.761 MB / 1.493 GB, free: 11.09 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005742/1.065, allocations: 3.65 MB / 1.497 GB, free: 7.43 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006656/1.071, allocations: 3.956 MB / 1.501 GB, free: 3.457 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.002138/1.073, allocations: 0.6484 MB / 1.501 GB, free: 2.809 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005543/1.079, allocations: 2.06 MB / 1.503 GB, free: 0.7461 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.002961/1.082, allocations: 2.138 MB / 1.505 GB, free: 14.6 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.006627/1.089, allocations: 3.999 MB / 1.509 GB, free: 10.58 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.01831/1.107, allocations: 13.02 MB / 1.522 GB, free: 13.51 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/1.107, allocations: 0 / 1.522 GB, free: 13.51 MB / 1.248 GB Notification: Performance of FrontEnd: time 2.314e-06/1.107, allocations: 0 / 1.522 GB, free: 13.51 MB / 1.248 GB Notification: Performance of Transformations before backend: time 0.0003873/1.107, allocations: 4 kB / 1.522 GB, free: 13.51 MB / 1.248 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.02176/1.129, allocations: 9.966 MB / 1.532 GB, free: 3.312 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/1.129, allocations: 8.031 kB / 1.532 GB, free: 3.305 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004192/1.133, allocations: 1.041 MB / 1.533 GB, free: 2.258 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01498/1.148, allocations: 7.628 MB / 1.54 GB, free: 10.55 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002463/1.149, allocations: 224.7 kB / 1.54 GB, free: 10.32 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000951/1.15, allocations: 312 kB / 1.541 GB, free: 10.02 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007568/1.157, allocations: 3.604 MB / 1.544 GB, free: 6.191 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.063e-05/1.157, allocations: 15.89 kB / 1.544 GB, free: 6.176 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003421/1.158, allocations: 108 kB / 1.544 GB, free: 6.07 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.645e-05/1.158, allocations: 86.78 kB / 1.545 GB, free: 5.984 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006393/1.164, allocations: 3.449 MB / 1.548 GB, free: 2.527 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.02679/1.191, allocations: 16.31 MB / 1.564 GB, free: 1.887 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6108/1.802, allocations: 2.859 MB / 1.567 GB, free: 326.4 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003355/1.805, allocations: 1.502 MB / 1.568 GB, free: 326.2 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004785/1.806, allocations: 323 kB / 1.568 GB, free: 325.9 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003597/1.809, allocations: 1.752 MB / 1.57 GB, free: 325.2 MB / 1.279 GB Notification: Performance of pre-optimization done (n=212): time 4.478e-06/1.809, allocations: 0 / 1.57 GB, free: 325.2 MB / 1.279 GB Notification: Performance of matching and sorting (n=212): time 0.01386/1.823, allocations: 5.822 MB / 1.576 GB, free: 323.6 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/1.823, allocations: 370 kB / 1.576 GB, free: 323.2 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01536/1.839, allocations: 10.34 MB / 1.586 GB, free: 319.9 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0006894/1.839, allocations: 128.2 kB / 1.586 GB, free: 319.8 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.002627/1.842, allocations: 3.285 MB / 1.59 GB, free: 317.4 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007039/1.843, allocations: 0.7187 MB / 1.59 GB, free: 316.9 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001103/1.844, allocations: 0.8312 MB / 1.591 GB, free: 316.6 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 4.198e-05/1.844, allocations: 301.1 kB / 1.591 GB, free: 316.3 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002498/1.846, allocations: 1.882 MB / 1.593 GB, free: 315.6 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003008/1.85, allocations: 3.032 MB / 1.596 GB, free: 313.7 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00436/1.854, allocations: 4.205 MB / 1.6 GB, free: 311.1 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.608e-05/1.854, allocations: 7.531 kB / 1.6 GB, free: 311.1 MB / 1.279 GB Notification: Performance of matching and sorting (n=489) (initialization): time 0.009295/1.863, allocations: 6.234 MB / 1.606 GB, free: 305.2 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 4.592e-05/1.863, allocations: 41.7 kB / 1.606 GB, free: 305.1 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.09e-05/1.863, allocations: 27.98 kB / 1.606 GB, free: 305.1 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002124/1.865, allocations: 0.6592 MB / 1.607 GB, free: 304.5 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002486/1.868, allocations: 0.7292 MB / 1.608 GB, free: 303.7 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006638/1.875, allocations: 6.366 MB / 1.614 GB, free: 297.1 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004206/1.879, allocations: 0.5162 MB / 1.614 GB, free: 296.6 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003167/1.879, allocations: 164 kB / 1.615 GB, free: 296.4 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.003373/1.883, allocations: 2.798 MB / 1.617 GB, free: 293.6 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001237/1.884, allocations: 0.7744 MB / 1.618 GB, free: 292.8 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003136/1.887, allocations: 1.748 MB / 1.62 GB, free: 291.1 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.634e-05/1.887, allocations: 19.95 kB / 1.62 GB, free: 291.1 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/1.887, allocations: 0 / 1.62 GB, free: 291.1 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002143/1.889, allocations: 1.514 MB / 1.621 GB, free: 289.5 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000877/1.89, allocations: 127.9 kB / 1.621 GB, free: 289.4 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002277/1.892, allocations: 185.5 kB / 1.622 GB, free: 289.2 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003028/1.893, allocations: 153.7 kB / 1.622 GB, free: 289.1 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007147/1.9, allocations: 4.446 MB / 1.626 GB, free: 284.6 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008817/1.909, allocations: 6.189 MB / 1.632 GB, free: 278.4 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002308/1.911, allocations: 1.613 MB / 1.634 GB, free: 276.8 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.01008/1.921, allocations: 7.224 MB / 1.641 GB, free: 269.6 MB / 1.279 GB Notification: Performance of Backend: time 8.31e-07/1.921, allocations: 4 kB / 1.641 GB, free: 269.6 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01008/1.931, allocations: 4.39 MB / 1.645 GB, free: 265.5 MB / 1.279 GB Notification: Performance of SimCode: time 0.02238/1.954, allocations: 16.49 MB / 1.661 GB, free: 249.1 MB / 1.279 GB Notification: Performance of Templates: time 0.1413/2.095, allocations: 110.8 MB / 1.769 GB, free: 139.3 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvection.makefile (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvection.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvection.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvection.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvection.sim & ./Buildings_latest_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvection.pipe 2>&1)