Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Airflow.Multizone.Examples.TrickleVent") translateModel(Buildings.Airflow.Multizone.Examples.TrickleVent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8640,variableFilter="",fileNamePrefix="Buildings_1.6_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.0009974/0.0009974, allocations: 90.52 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.008215/0.008215, allocations: 171.1 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.43/1.43, allocations: 223.2 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.875/2.875, allocations: 473.4 MB / 0.7469 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003845/0.0003846, allocations: 9.188 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3279, allocations: 162.2 MB / 1.074 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.TrickleVent): time 0.7912/1.119, allocations: 183.2 MB / 1.253 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02085/1.14, allocations: 16.34 MB / 1.269 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002462/1.142, allocations: 43.16 kB / 1.269 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001874/1.144, allocations: 0.6419 MB / 1.27 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007081/1.151, allocations: 2.206 MB / 1.272 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005535/1.157, allocations: 1.779 MB / 1.274 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006704/1.164, allocations: 4.571 MB / 1.278 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003431/1.167, allocations: 1.764 MB / 1.28 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005018/1.172, allocations: 1.229 MB / 1.281 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00268/1.175, allocations: 1.166 MB / 1.282 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003606/1.175, allocations: 64 kB / 1.282 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005979/1.181, allocations: 2.209 MB / 1.284 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008698/1.182, allocations: 0.5802 MB / 1.285 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001934/1.184, allocations: 1.081 MB / 1.286 GB, free: 21.48 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006723/1.191, allocations: 3.813 MB / 1.29 GB, free: 21.24 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/1.191, allocations: 0 / 1.29 GB, free: 21.24 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.024e-06/1.191, allocations: 0 / 1.29 GB, free: 21.24 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.197e-05/1.191, allocations: 0 / 1.29 GB, free: 21.24 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.004913/1.196, allocations: 2.413 MB / 1.292 GB, free: 19.93 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/1.196, allocations: 9.031 kB / 1.292 GB, free: 19.93 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003609/1.2, allocations: 0.5616 MB / 1.293 GB, free: 19.79 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002687/1.202, allocations: 1.51 MB / 1.294 GB, free: 19.32 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001079/1.202, allocations: 131.9 kB / 1.294 GB, free: 19.32 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002579/1.203, allocations: 175.2 kB / 1.294 GB, free: 19.32 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003582/1.206, allocations: 2.059 MB / 1.296 GB, free: 19.06 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.986e-05/1.206, allocations: 2.188 kB / 1.296 GB, free: 19.06 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001685/1.206, allocations: 80.94 kB / 1.296 GB, free: 19.06 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.211e-05/1.207, allocations: 68.81 kB / 1.297 GB, free: 19.06 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00349/1.21, allocations: 2.115 MB / 1.299 GB, free: 19.03 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.01099/1.221, allocations: 7.692 MB / 1.306 GB, free: 15.72 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002721/1.224, allocations: 1.694 MB / 1.308 GB, free: 15.48 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00122/1.225, allocations: 0.7695 MB / 1.308 GB, free: 15.46 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007432/1.226, allocations: 0.6599 MB / 1.309 GB, free: 14.8 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001632/1.227, allocations: 0.9824 MB / 1.31 GB, free: 14.71 MB / 1.014 GB Notification: Performance of pre-optimization done (n=151): time 3.306e-06/1.227, allocations: 4 kB / 1.31 GB, free: 14.7 MB / 1.014 GB Notification: Performance of matching and sorting (n=151): time 0.006027/1.234, allocations: 2.685 MB / 1.313 GB, free: 14.21 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001286/1.234, allocations: 228.2 kB / 1.313 GB, free: 13.96 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002164/1.236, allocations: 1.52 MB / 1.314 GB, free: 13.79 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002339/1.236, allocations: 56.02 kB / 1.314 GB, free: 13.76 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008229/1.237, allocations: 0.8532 MB / 1.315 GB, free: 13.45 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004126/1.237, allocations: 0.4902 MB / 1.316 GB, free: 13.14 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001661/1.238, allocations: 120.6 kB / 1.316 GB, free: 13.12 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001396/1.238, allocations: 355.3 kB / 1.316 GB, free: 12.82 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001009/1.239, allocations: 0.601 MB / 1.317 GB, free: 12.81 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001083/1.24, allocations: 0.7745 MB / 1.318 GB, free: 12.69 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002103/1.242, allocations: 1.393 MB / 1.319 GB, free: 12.58 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/1.242, allocations: 0 / 1.319 GB, free: 12.58 MB / 1.014 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.003551/1.245, allocations: 1.815 MB / 1.321 GB, free: 12.38 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 8.68e-05/1.246, allocations: 153.6 kB / 1.321 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/1.246, allocations: 3.312 kB / 1.321 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007698/1.246, allocations: 151.6 kB / 1.321 GB, free: 12.18 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001325/1.248, allocations: 324.9 kB / 1.321 GB, free: 12.18 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003692/1.251, allocations: 4.237 MB / 1.325 GB, free: 8.359 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001991/1.253, allocations: 210.3 kB / 1.326 GB, free: 8.285 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/1.254, allocations: 62.86 kB / 1.326 GB, free: 8.281 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.692e-06/1.254, allocations: 5.75 kB / 1.326 GB, free: 8.281 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002981/1.257, allocations: 1.616 MB / 1.327 GB, free: 8.199 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.485e-06/1.257, allocations: 2.906 kB / 1.327 GB, free: 8.199 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006784/1.257, allocations: 141.7 kB / 1.327 GB, free: 8.168 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/1.259, allocations: 320.8 kB / 1.328 GB, free: 8.168 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00365/1.262, allocations: 4.23 MB / 1.332 GB, free: 4.352 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001998/1.264, allocations: 202.6 kB / 1.332 GB, free: 4.281 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001229/1.264, allocations: 57.36 kB / 1.332 GB, free: 4.281 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.001236/1.266, allocations: 0.5475 MB / 1.333 GB, free: 4.082 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003472/1.266, allocations: 186.7 kB / 1.333 GB, free: 3.988 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003986/1.27, allocations: 2.044 MB / 1.335 GB, free: 3.809 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/1.27, allocations: 18.92 kB / 1.335 GB, free: 3.809 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/1.27, allocations: 0 / 1.335 GB, free: 3.809 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0029/1.273, allocations: 1.685 MB / 1.337 GB, free: 3.59 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00651/1.279, allocations: 3.872 MB / 1.34 GB, free: 2.816 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-05/1.279, allocations: 10.84 kB / 1.34 GB, free: 2.809 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001364/1.281, allocations: 309.5 kB / 1.341 GB, free: 2.801 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006892/1.282, allocations: 149.9 kB / 1.341 GB, free: 2.75 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001049/1.282, allocations: 41.2 kB / 1.341 GB, free: 2.73 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003682/1.285, allocations: 4.232 MB / 1.345 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/1.285, allocations: 4.062 kB / 1.345 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005032/1.29, allocations: 2.828 MB / 1.348 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009887/1.291, allocations: 477.9 kB / 1.348 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000268/1.292, allocations: 42.81 kB / 1.348 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001482/1.293, allocations: 157.6 kB / 1.348 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000229/1.293, allocations: 107 kB / 1.348 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001198/1.294, allocations: 64.67 kB / 1.348 GB, free: 13.08 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001423/1.295, allocations: 1.07 MB / 1.35 GB, free: 12.68 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.102e-06/1.295, allocations: 0 / 1.35 GB, free: 12.68 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002806/1.298, allocations: 1.135 MB / 1.351 GB, free: 12.42 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.001889/1.3, allocations: 0.795 MB / 1.351 GB, free: 12.13 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.004976/1.305, allocations: 3.059 MB / 1.354 GB, free: 10.46 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/1.305, allocations: 4.562 kB / 1.354 GB, free: 10.46 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001825/1.307, allocations: 1.185 MB / 1.356 GB, free: 9.77 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003629/1.31, allocations: 0.7017 MB / 1.356 GB, free: 9.414 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007483/1.318, allocations: 5 MB / 1.361 GB, free: 6.102 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00134/1.319, allocations: 1.541 MB / 1.363 GB, free: 5.016 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.002682/1.322, allocations: 0.6077 MB / 1.363 GB, free: 4.707 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000499/1.322, allocations: 169.3 kB / 1.363 GB, free: 4.668 MB / 1.029 GB Notification: Performance of SimCode: time 1.002e-06/1.322, allocations: 1.859 kB / 1.363 GB, free: 4.668 MB / 1.029 GB Notification: Performance of Templates: time 0.05767/1.38, allocations: 34.35 MB / 1.397 GB, free: 8.754 MB / 1.061 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.TrickleVent.makefile (rm -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.TrickleVent.pipe ; mkfifo Buildings_1.6_Buildings.Airflow.Multizone.Examples.TrickleVent.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Airflow.Multizone.Examples.TrickleVent.pipe >> ../files/Buildings_1.6_Buildings.Airflow.Multizone.Examples.TrickleVent.sim & ./Buildings_1.6_Buildings.Airflow.Multizone.Examples.TrickleVent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Airflow.Multizone.Examples.TrickleVent.pipe 2>&1)