Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.TrickleVent.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.Airflow.Multizone.Examples.TrickleVent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8640,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.TrickleVent") translateModel(Buildings.Airflow.Multizone.Examples.TrickleVent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8640,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.TrickleVent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001223, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008744/0.008744, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.517/1.517, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.916/2.916, allocations: 473.4 MB / 0.7469 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004058/0.0004058, allocations: 15.67 kB / 0.9158 GB, free: 33.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4047/0.4051, allocations: 162.2 MB / 1.074 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.TrickleVent): time 1.125/1.531, allocations: 183.2 MB / 1.253 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02803/1.559, allocations: 16.34 MB / 1.269 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003412/1.562, allocations: 43.06 kB / 1.269 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002665/1.565, allocations: 0.6423 MB / 1.27 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009689/1.575, allocations: 2.197 MB / 1.272 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008302/1.583, allocations: 1.79 MB / 1.274 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01061/1.594, allocations: 4.573 MB / 1.278 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005225/1.599, allocations: 1.752 MB / 1.28 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007137/1.606, allocations: 1.24 MB / 1.281 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005211/1.611, allocations: 1.166 MB / 1.282 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008245/1.612, allocations: 63.28 kB / 1.282 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01062/1.623, allocations: 2.209 MB / 1.284 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001405/1.624, allocations: 0.5813 MB / 1.285 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003122/1.627, allocations: 1.075 MB / 1.286 GB, free: 21.51 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01081/1.638, allocations: 3.816 MB / 1.29 GB, free: 21.27 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/1.638, allocations: 0.875 kB / 1.29 GB, free: 21.27 MB / 1.014 GB Notification: Performance of FrontEnd: time 5.49e-06/1.638, allocations: 3 kB / 1.29 GB, free: 21.27 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001435/1.638, allocations: 0 / 1.29 GB, free: 21.27 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 454 * Number of variables: 454 Notification: Performance of Generate backend data structure: time 0.007054/1.645, allocations: 2.409 MB / 1.292 GB, free: 19.96 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.042e-05/1.645, allocations: 9.719 kB / 1.292 GB, free: 19.96 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004281/1.65, allocations: 0.5627 MB / 1.293 GB, free: 19.82 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003672/1.653, allocations: 1.508 MB / 1.294 GB, free: 19.35 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001727/1.654, allocations: 134.5 kB / 1.294 GB, free: 19.34 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003583/1.654, allocations: 178.1 kB / 1.294 GB, free: 19.34 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004984/1.659, allocations: 2.057 MB / 1.296 GB, free: 19.08 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.174e-05/1.659, allocations: 3.281 kB / 1.296 GB, free: 19.08 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002326/1.659, allocations: 77.75 kB / 1.296 GB, free: 19.08 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001221/1.659, allocations: 68.8 kB / 1.297 GB, free: 19.08 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004303/1.664, allocations: 2.116 MB / 1.299 GB, free: 19.05 MB / 1.014 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.01462/1.678, allocations: 7.691 MB / 1.306 GB, free: 15.74 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003235/1.682, allocations: 1.697 MB / 1.308 GB, free: 15.5 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001484/1.683, allocations: 0.766 MB / 1.308 GB, free: 15.48 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008764/1.684, allocations: 0.6569 MB / 1.309 GB, free: 14.82 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002017/1.686, allocations: 0.9907 MB / 1.31 GB, free: 14.73 MB / 1.014 GB Notification: Performance of pre-optimization done (n=151): time 5.079e-06/1.686, allocations: 1.25 kB / 1.31 GB, free: 14.73 MB / 1.014 GB Notification: Performance of matching and sorting (n=151): time 0.007543/1.694, allocations: 2.684 MB / 1.313 GB, free: 14.23 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001901/1.694, allocations: 228.8 kB / 1.313 GB, free: 13.98 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003574/1.698, allocations: 1.518 MB / 1.314 GB, free: 13.81 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000446/1.698, allocations: 60.53 kB / 1.314 GB, free: 13.78 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001242/1.699, allocations: 0.8436 MB / 1.315 GB, free: 13.47 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000657/1.7, allocations: 0.4924 MB / 1.316 GB, free: 13.16 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001931/1.7, allocations: 116.1 kB / 1.316 GB, free: 13.14 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002025/1.7, allocations: 361.2 kB / 1.316 GB, free: 12.84 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001249/1.702, allocations: 0.6001 MB / 1.317 GB, free: 12.83 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001309/1.703, allocations: 0.777 MB / 1.318 GB, free: 12.71 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002473/1.705, allocations: 1.391 MB / 1.319 GB, free: 12.6 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/1.705, allocations: 0 / 1.319 GB, free: 12.6 MB / 1.014 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.004564/1.71, allocations: 1.816 MB / 1.321 GB, free: 12.4 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001399/1.71, allocations: 151.2 kB / 1.321 GB, free: 12.24 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/1.71, allocations: 0 / 1.321 GB, free: 12.24 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008163/1.711, allocations: 152 kB / 1.321 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/1.712, allocations: 322.4 kB / 1.321 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004691/1.717, allocations: 4.239 MB / 1.325 GB, free: 8.383 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00308/1.72, allocations: 220.1 kB / 1.326 GB, free: 8.305 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002192/1.72, allocations: 62.53 kB / 1.326 GB, free: 8.301 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/1.72, allocations: 4.375 kB / 1.326 GB, free: 8.301 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003719/1.724, allocations: 1.613 MB / 1.327 GB, free: 8.219 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/1.724, allocations: 6.719 kB / 1.327 GB, free: 8.219 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007276/1.725, allocations: 139.2 kB / 1.327 GB, free: 8.191 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/1.726, allocations: 323.7 kB / 1.328 GB, free: 8.188 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005133/1.732, allocations: 4.233 MB / 1.332 GB, free: 4.371 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003539/1.735, allocations: 197 kB / 1.332 GB, free: 4.301 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005681/1.736, allocations: 60.27 kB / 1.332 GB, free: 4.301 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 17 (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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.003043/1.739, allocations: 0.5397 MB / 1.333 GB, free: 4.105 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001398/1.74, allocations: 184 kB / 1.333 GB, free: 4.012 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006095/1.746, allocations: 2.054 MB / 1.335 GB, free: 3.824 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-05/1.746, allocations: 17.78 kB / 1.335 GB, free: 3.824 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.594e-05/1.746, allocations: 0 / 1.335 GB, free: 3.824 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003618/1.75, allocations: 1.684 MB / 1.337 GB, free: 3.605 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01217/1.762, allocations: 3.879 MB / 1.34 GB, free: 2.797 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-05/1.762, allocations: 7.938 kB / 1.34 GB, free: 2.789 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001829/1.764, allocations: 311.3 kB / 1.341 GB, free: 2.781 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008946/1.765, allocations: 146.4 kB / 1.341 GB, free: 2.734 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003395/1.766, allocations: 37.22 kB / 1.341 GB, free: 2.715 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005208/1.771, allocations: 4.24 MB / 1.345 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/1.771, allocations: 0 / 1.345 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009031/1.78, allocations: 2.826 MB / 1.348 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002011/1.782, allocations: 482.4 kB / 1.348 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008689/1.783, allocations: 32.83 kB / 1.348 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002426/1.785, allocations: 162.4 kB / 1.348 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003547/1.786, allocations: 111.5 kB / 1.348 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002282/1.786, allocations: 69.75 kB / 1.348 GB, free: 13.06 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002408/1.788, allocations: 1.064 MB / 1.35 GB, free: 12.67 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.393e-06/1.788, allocations: 0 / 1.35 GB, free: 12.67 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.005658/1.794, allocations: 1.135 MB / 1.351 GB, free: 12.4 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (room.dynBal.medium.Xi[1],room.dynBal.U,room.dynBal.m,tabDat_m_flow.mExc,tabDat_V_flow.mExc) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.conTimMin.tNext,weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003095/1.797, allocations: 0.7834 MB / 1.351 GB, free: 12.12 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.006585/1.804, allocations: 3.06 MB / 1.354 GB, free: 10.48 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.448e-05/1.804, allocations: 4.5 kB / 1.354 GB, free: 10.48 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002311/1.806, allocations: 1.183 MB / 1.356 GB, free: 9.785 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005448/1.812, allocations: 0.7073 MB / 1.356 GB, free: 9.422 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01053/1.822, allocations: 5.001 MB / 1.361 GB, free: 6.109 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001567/1.824, allocations: 1.537 MB / 1.363 GB, free: 5.027 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.003247/1.827, allocations: 0.6083 MB / 1.363 GB, free: 4.719 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000538/1.828, allocations: 171 kB / 1.363 GB, free: 4.676 MB / 1.029 GB Notification: Performance of SimCode: time 1.383e-06/1.828, allocations: 3.938 kB / 1.363 GB, free: 4.672 MB / 1.029 GB Notification: Performance of Templates: time 0.06733/1.895, allocations: 34.35 MB / 1.397 GB, free: 8.754 MB / 1.061 GB make -j1 -f Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.TrickleVent.makefile (rm -f Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.TrickleVent.pipe ; mkfifo Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.TrickleVent.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.TrickleVent.pipe >> ../files/Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.TrickleVent.sim & ./Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.TrickleVent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.TrickleVent.pipe 2>&1)