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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001109/0.001109, allocations: 112.5 kB / 16.42 MB, free: 6.406 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.001208/0.001208, allocations: 183.9 kB / 17.35 MB, free: 5.695 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.279/1.279, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.469/2.469, allocations: 461.7 MB / 0.7352 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 63.89 kB / 1.055 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6986/0.7001, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.FFD.ForcedConvection): time 0.2113/0.9114, allocations: 213.8 MB / 1.417 GB, free: 7.027 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.05589/0.9673, allocations: 33.68 MB / 1.45 GB, free: 5.246 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01156/0.9789, allocations: 286.2 kB / 1.45 GB, free: 4.965 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.008818/0.9879, allocations: 3.039 MB / 1.453 GB, free: 1.914 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.008759/0.9966, allocations: 2.826 MB / 1.456 GB, free: 15.07 MB / 1.186 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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 11.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.007646/1.004, allocations: 2.796 MB / 1.459 GB, free: 12.29 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.01374/1.018, allocations: 12.03 MB / 1.47 GB, free: 232 kB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007293/1.025, allocations: 4.754 MB / 1.475 GB, free: 11.38 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006305/1.032, allocations: 3.545 MB / 1.478 GB, free: 7.824 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006165/1.038, allocations: 3.959 MB / 1.482 GB, free: 3.852 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.001874/1.04, allocations: 0.6445 MB / 1.483 GB, free: 3.207 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005214/1.045, allocations: 2.056 MB / 1.485 GB, free: 1.148 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.002915/1.048, allocations: 2.142 MB / 1.487 GB, free: 15 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.006669/1.055, allocations: 3.988 MB / 1.491 GB, free: 10.99 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.01439/1.069, allocations: 12.34 MB / 1.503 GB, free: 14.62 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/1.069, allocations: 0 / 1.503 GB, free: 14.62 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.783e-06/1.069, allocations: 0 / 1.503 GB, free: 14.62 MB / 1.232 GB Notification: Performance of Transformations before backend: time 0.0002771/1.069, allocations: 0 / 1.503 GB, free: 14.62 MB / 1.232 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.01832/1.088, allocations: 9.465 MB / 1.512 GB, free: 4.926 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/1.088, allocations: 12.03 kB / 1.512 GB, free: 4.914 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003753/1.091, allocations: 0.9934 MB / 1.513 GB, free: 3.91 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01497/1.106, allocations: 7.534 MB / 1.521 GB, free: 12.28 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002657/1.107, allocations: 228.6 kB / 1.521 GB, free: 12.05 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001013/1.108, allocations: 308 kB / 1.521 GB, free: 11.75 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007997/1.116, allocations: 3.604 MB / 1.525 GB, free: 7.93 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.062e-05/1.116, allocations: 23.77 kB / 1.525 GB, free: 7.906 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004247/1.116, allocations: 99.98 kB / 1.525 GB, free: 7.809 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001089/1.116, allocations: 90.78 kB / 1.525 GB, free: 7.719 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006522/1.123, allocations: 3.445 MB / 1.528 GB, free: 4.27 MB / 1.248 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.02856/1.152, allocations: 16.29 MB / 1.544 GB, free: 3.648 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006325/1.158, allocations: 2.864 MB / 1.547 GB, free: 0.7695 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002922/1.161, allocations: 1.501 MB / 1.548 GB, free: 15.27 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005097/1.161, allocations: 328.8 kB / 1.549 GB, free: 14.89 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003533/1.165, allocations: 1.746 MB / 1.55 GB, free: 13.12 MB / 1.279 GB Notification: Performance of pre-optimization done (n=212): time 6.693e-06/1.165, allocations: 0 / 1.55 GB, free: 13.12 MB / 1.279 GB Notification: Performance of matching and sorting (n=212): time 0.0147/1.18, allocations: 5.778 MB / 1.556 GB, free: 7.277 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002196/1.18, allocations: 368.6 kB / 1.556 GB, free: 6.852 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5746/1.755, allocations: 10.33 MB / 1.566 GB, free: 338.4 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0006795/1.755, allocations: 129.1 kB / 1.567 GB, free: 338.3 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.003264/1.759, allocations: 3.271 MB / 1.57 GB, free: 336.1 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007413/1.759, allocations: 0.6834 MB / 1.57 GB, free: 335.8 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001236/1.761, allocations: 0.8253 MB / 1.571 GB, free: 335.5 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 4.126e-05/1.761, allocations: 310.4 kB / 1.572 GB, free: 335.2 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002827/1.763, allocations: 1.886 MB / 1.573 GB, free: 334.5 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003495/1.767, allocations: 3.024 MB / 1.576 GB, free: 332.6 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004896/1.772, allocations: 4.212 MB / 1.58 GB, free: 330.1 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.76e-05/1.772, allocations: 9.188 kB / 1.58 GB, free: 330.1 MB / 1.279 GB Notification: Performance of matching and sorting (n=489) (initialization): time 0.01021/1.782, allocations: 6.178 MB / 1.586 GB, free: 327.6 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 5.091e-05/1.782, allocations: 43.3 kB / 1.587 GB, free: 327.5 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.693e-05/1.782, allocations: 30.69 kB / 1.587 GB, free: 327.5 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002358/1.785, allocations: 0.6561 MB / 1.587 GB, free: 327.4 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002654/1.787, allocations: 0.7322 MB / 1.588 GB, free: 327.3 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006744/1.794, allocations: 6.363 MB / 1.594 GB, free: 323.2 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004721/1.799, allocations: 0.507 MB / 1.595 GB, free: 322.9 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005464/1.799, allocations: 164.2 kB / 1.595 GB, free: 322.9 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.003988/1.803, allocations: 2.8 MB / 1.598 GB, free: 321.7 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001553/1.805, allocations: 0.7244 MB / 1.598 GB, free: 321.3 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00383/1.809, allocations: 1.76 MB / 1.6 GB, free: 320.6 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.341e-05/1.809, allocations: 9.938 kB / 1.6 GB, free: 320.6 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/1.809, allocations: 3.812 kB / 1.6 GB, free: 320.6 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002999/1.812, allocations: 1.468 MB / 1.601 GB, free: 319.7 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001788/1.814, allocations: 129.2 kB / 1.602 GB, free: 319.6 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003245/1.817, allocations: 187.6 kB / 1.602 GB, free: 319.6 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003126/1.817, allocations: 154.5 kB / 1.602 GB, free: 319.6 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007467/1.825, allocations: 4.454 MB / 1.606 GB, free: 315.9 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009241/1.834, allocations: 6.142 MB / 1.612 GB, free: 309.7 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002256/1.836, allocations: 1.613 MB / 1.614 GB, free: 308.1 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.009764/1.846, allocations: 7.228 MB / 1.621 GB, free: 300.9 MB / 1.279 GB Notification: Performance of Backend: time 9.61e-07/1.846, allocations: 0 / 1.621 GB, free: 300.9 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01051/1.856, allocations: 4.369 MB / 1.625 GB, free: 296.9 MB / 1.279 GB Notification: Performance of SimCode: time 0.02254/1.879, allocations: 16.26 MB / 1.641 GB, free: 280.7 MB / 1.279 GB Notification: Performance of Templates: time 0.1379/2.017, allocations: 109.5 MB / 1.748 GB, free: 172.2 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)