Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation.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.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation") translateModel(Buildings.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 194.1 kB / 16.53 MB, free: 6.664 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.435/1.435, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.867/2.867, allocations: 472.6 MB / 0.7451 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00196/0.001961, allocations: 67.78 kB / 0.912 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3891/0.391, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.9069/1.298, allocations: 202 MB / 1.265 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01369/1.312, allocations: 7.394 MB / 1.273 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002298/1.314, allocations: 35.84 kB / 1.273 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002332/1.316, allocations: 0.7006 MB / 1.273 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009006/1.325, allocations: 2.406 MB / 1.276 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005333/1.331, allocations: 1.229 MB / 1.277 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007234/1.338, allocations: 2.897 MB / 1.28 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002911/1.341, allocations: 0.953 MB / 1.281 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004166/1.345, allocations: 1.011 MB / 1.282 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004672/1.35, allocations: 0.966 MB / 1.283 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006471/1.351, allocations: 109.9 kB / 1.283 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007529/1.358, allocations: 2.134 MB / 1.285 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00114/1.359, allocations: 454.4 kB / 1.285 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001691/1.361, allocations: 0.6685 MB / 1.286 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006695/1.368, allocations: 2.383 MB / 1.288 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/1.368, allocations: 2.812 kB / 1.288 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.364e-06/1.368, allocations: 0 / 1.288 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.394e-05/1.368, allocations: 0.9062 kB / 1.288 GB, free: 5.223 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.004433/1.372, allocations: 1.624 MB / 1.29 GB, free: 20.39 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/1.372, allocations: 9.688 kB / 1.29 GB, free: 20.39 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002616/1.375, allocations: 374.6 kB / 1.29 GB, free: 20.33 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001414/1.376, allocations: 0.8178 MB / 1.291 GB, free: 20 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.866e-05/1.376, allocations: 64.59 kB / 1.291 GB, free: 20 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/1.377, allocations: 83.62 kB / 1.291 GB, free: 20 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001733/1.378, allocations: 1.04 MB / 1.292 GB, free: 19.87 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.7e-05/1.378, allocations: 8 kB / 1.292 GB, free: 19.87 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.174e-05/1.378, allocations: 35.73 kB / 1.292 GB, free: 19.87 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-05/1.379, allocations: 44.22 kB / 1.292 GB, free: 19.87 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00149/1.38, allocations: 0.8817 MB / 1.293 GB, free: 19.86 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.005398/1.385, allocations: 4.327 MB / 1.297 GB, free: 17.38 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/1.387, allocations: 0.6979 MB / 1.298 GB, free: 17.35 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007464/1.387, allocations: 451.6 kB / 1.298 GB, free: 17.34 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006788/1.388, allocations: 0.6757 MB / 1.299 GB, free: 16.59 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.371e-05/1.388, allocations: 48.2 kB / 1.299 GB, free: 16.55 MB / 1.014 GB Notification: Performance of pre-optimization done (n=70): time 3.106e-06/1.388, allocations: 0.875 kB / 1.299 GB, free: 16.55 MB / 1.014 GB Notification: Performance of matching and sorting (n=70): time 0.002145/1.39, allocations: 0.9902 MB / 1.3 GB, free: 16.46 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/1.39, allocations: 63.88 kB / 1.3 GB, free: 16.39 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007982/1.391, allocations: 0.6392 MB / 1.301 GB, free: 16.26 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.353e-05/1.391, allocations: 40.36 kB / 1.301 GB, free: 16.23 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002735/1.391, allocations: 430.3 kB / 1.301 GB, free: 16.04 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002343/1.392, allocations: 247.4 kB / 1.301 GB, free: 15.88 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001951/1.392, allocations: 119.4 kB / 1.302 GB, free: 15.86 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001669/1.392, allocations: 387 kB / 1.302 GB, free: 15.55 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004471/1.393, allocations: 284.1 kB / 1.302 GB, free: 15.55 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004919/1.393, allocations: 355.5 kB / 1.303 GB, free: 15.49 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009839/1.394, allocations: 0.6646 MB / 1.303 GB, free: 15.43 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/1.394, allocations: 0 / 1.303 GB, free: 15.43 MB / 1.014 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001293/1.395, allocations: 0.7884 MB / 1.304 GB, free: 15.34 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/1.395, allocations: 5.25 kB / 1.304 GB, free: 15.34 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/1.395, allocations: 6.156 kB / 1.304 GB, free: 15.34 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/1.395, allocations: 8.062 kB / 1.304 GB, free: 15.34 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006552/1.396, allocations: 143.3 kB / 1.304 GB, free: 15.34 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/1.396, allocations: 9.75 kB / 1.304 GB, free: 15.33 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008543/1.397, allocations: 54.38 kB / 1.304 GB, free: 15.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.848e-05/1.397, allocations: 23.69 kB / 1.304 GB, free: 15.3 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004984/1.398, allocations: 287.2 kB / 1.304 GB, free: 15.19 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001527/1.398, allocations: 86 kB / 1.305 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00136/1.399, allocations: 0.7977 MB / 1.305 GB, free: 15.07 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/1.399, allocations: 11.12 kB / 1.305 GB, free: 15.07 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/1.399, allocations: 2.781 kB / 1.305 GB, free: 15.07 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001085/1.4, allocations: 0.817 MB / 1.306 GB, free: 14.81 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00273/1.403, allocations: 1.852 MB / 1.308 GB, free: 14.48 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/1.403, allocations: 0 / 1.308 GB, free: 14.48 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008412/1.404, allocations: 166.9 kB / 1.308 GB, free: 14.48 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.209e-05/1.404, allocations: 3.5 kB / 1.308 GB, free: 14.48 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.057e-05/1.404, allocations: 16.97 kB / 1.308 GB, free: 14.48 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.695e-06/1.404, allocations: 5.375 kB / 1.308 GB, free: 14.48 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.404, allocations: 0.9375 kB / 1.308 GB, free: 14.48 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001886/1.406, allocations: 1.196 MB / 1.309 GB, free: 14.28 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005104/1.406, allocations: 246.7 kB / 1.31 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001851/1.407, allocations: 14.56 kB / 1.31 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007311/1.407, allocations: 26.41 kB / 1.31 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/1.407, allocations: 54.19 kB / 1.31 GB, free: 14.13 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-05/1.407, allocations: 21.5 kB / 1.31 GB, free: 14.13 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006438/1.408, allocations: 457.7 kB / 1.31 GB, free: 14.04 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.408, allocations: 1.562 kB / 1.31 GB, free: 14.04 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001166/1.409, allocations: 334.4 kB / 1.31 GB, free: 14 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004121/1.41, allocations: 198.7 kB / 1.311 GB, free: 13.9 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001659/1.411, allocations: 0.8205 MB / 1.311 GB, free: 13.88 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/1.411, allocations: 2.125 kB / 1.311 GB, free: 13.88 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005664/1.412, allocations: 368.1 kB / 1.312 GB, free: 13.88 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002592/1.415, allocations: 0.5528 MB / 1.312 GB, free: 13.8 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003646/1.418, allocations: 2.172 MB / 1.314 GB, free: 12.86 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008097/1.419, allocations: 1.089 MB / 1.315 GB, free: 12.14 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001149/1.42, allocations: 226.7 kB / 1.316 GB, free: 12.09 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002727/1.42, allocations: 76.64 kB / 1.316 GB, free: 12.08 MB / 1.014 GB Notification: Performance of SimCode: time 9.32e-07/1.42, allocations: 0 / 1.316 GB, free: 12.08 MB / 1.014 GB Notification: Performance of Templates: time 0.03143/1.452, allocations: 18.27 MB / 1.334 GB, free: 9.262 MB / 1.014 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation.makefile (rm -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & ./Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)