Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation") translateModel(Buildings.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001585/0.001585, allocations: 109.4 kB / 15.69 MB, free: 128 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.001808/0.001808, allocations: 187.8 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.417/1.417, allocations: 205.1 MB / 222.5 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.723/1.723, allocations: 292.3 MB / 0.549 GB, free: 12.79 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001469, allocations: 67.06 kB / 0.6722 GB, free: 26.01 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2704, allocations: 114.5 MB / 0.7841 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.654/0.9245, allocations: 201.9 MB / 0.9813 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01042/0.9349, allocations: 7.323 MB / 0.9884 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001573/0.9366, allocations: 34.16 kB / 0.9885 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001822/0.9384, allocations: 0.6949 MB / 0.9892 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.006747/0.9452, allocations: 2.355 MB / 0.9915 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003888/0.9491, allocations: 1.275 MB / 0.9927 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003901/0.953, allocations: 2.881 MB / 0.9955 GB, free: 9.027 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001239/0.9542, allocations: 0.9496 MB / 0.9964 GB, free: 8.453 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001505/0.9558, allocations: 1.019 MB / 0.9974 GB, free: 7.941 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001633/0.9574, allocations: 0.956 MB / 0.9984 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000156/0.9576, allocations: 109.4 kB / 0.9985 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004134/0.9617, allocations: 2.135 MB / 1.001 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004608/0.9622, allocations: 448.7 kB / 1.001 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000765/0.963, allocations: 0.6686 MB / 1.002 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003797/0.9668, allocations: 2.403 MB / 1.004 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.9668, allocations: 6.891 kB / 1.004 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.442e-06/0.9668, allocations: 0 / 1.004 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.527e-05/0.9668, allocations: 0 / 1.004 GB, free: 4.465 MB / 0.7325 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.003066/0.9699, allocations: 1.609 MB / 1.006 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.9699, allocations: 7.656 kB / 1.006 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002393/0.9723, allocations: 374.6 kB / 1.006 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001265/0.9736, allocations: 0.8389 MB / 1.007 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.217e-05/0.9737, allocations: 73.19 kB / 1.007 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.9738, allocations: 85.5 kB / 1.007 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/0.9754, allocations: 1.039 MB / 1.008 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/0.9755, allocations: 6.094 kB / 1.008 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.188e-05/0.9756, allocations: 32 kB / 1.008 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.992e-05/0.9756, allocations: 47.86 kB / 1.008 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001441/0.9771, allocations: 0.8747 MB / 1.009 GB, free: 1.293 MB / 0.7325 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.004591/0.9817, allocations: 4.283 MB / 1.013 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.9827, allocations: 0.7054 MB / 1.014 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007121/0.9834, allocations: 459.6 kB / 1.014 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006324/0.9841, allocations: 0.6691 MB / 1.015 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.9841, allocations: 51.53 kB / 1.015 GB, free: 12.1 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=70): time 2.474e-06/0.9842, allocations: 4 kB / 1.015 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of matching and sorting (n=70): time 0.001876/0.986, allocations: 0.981 MB / 1.016 GB, free: 11.6 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.9861, allocations: 67.75 kB / 1.016 GB, free: 11.53 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008008/0.9869, allocations: 0.6231 MB / 1.017 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.555e-05/0.987, allocations: 38.14 kB / 1.017 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003204/0.9873, allocations: 435.2 kB / 1.017 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.000218/0.9875, allocations: 247.8 kB / 1.017 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001984/0.9877, allocations: 118.5 kB / 1.017 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001908/0.9879, allocations: 391.6 kB / 1.018 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004692/0.9884, allocations: 275.2 kB / 1.018 GB, free: 9.953 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005041/0.9889, allocations: 366.4 kB / 1.018 GB, free: 9.719 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.99, allocations: 0.6603 MB / 1.019 GB, free: 9.34 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.99, allocations: 4 kB / 1.019 GB, free: 9.336 MB / 0.7481 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001241/0.9912, allocations: 0.7912 MB / 1.02 GB, free: 8.93 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.9912, allocations: 5 kB / 1.02 GB, free: 8.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.9913, allocations: 2.75 kB / 1.02 GB, free: 8.93 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.9913, allocations: 2.312 kB / 1.02 GB, free: 8.93 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006233/0.9919, allocations: 140.5 kB / 1.02 GB, free: 8.902 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.9919, allocations: 5.562 kB / 1.02 GB, free: 8.902 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007585/0.9927, allocations: 58.08 kB / 1.02 GB, free: 8.859 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-05/0.9928, allocations: 25.41 kB / 1.02 GB, free: 8.852 MB / 0.7481 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.000409/0.9932, allocations: 288.1 kB / 1.02 GB, free: 8.629 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/0.9934, allocations: 86.03 kB / 1.02 GB, free: 8.586 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00141/0.9948, allocations: 0.7879 MB / 1.021 GB, free: 8.125 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.9948, allocations: 11.58 kB / 1.021 GB, free: 8.121 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.9948, allocations: 0 / 1.021 GB, free: 8.121 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00109/0.9959, allocations: 0.8088 MB / 1.022 GB, free: 7.582 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002627/0.9985, allocations: 1.844 MB / 1.024 GB, free: 6.352 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.9986, allocations: 3.938 kB / 1.024 GB, free: 6.348 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008094/0.9994, allocations: 174.8 kB / 1.024 GB, free: 6.309 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.9994, allocations: 2.844 kB / 1.024 GB, free: 6.309 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.081e-05/0.9994, allocations: 16.91 kB / 1.024 GB, free: 6.297 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/0.9995, allocations: 6.609 kB / 1.024 GB, free: 6.293 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.9995, allocations: 0 / 1.024 GB, free: 6.293 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001777/1.001, allocations: 1.273 MB / 1.025 GB, free: 5.574 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000377/1.002, allocations: 246 kB / 1.025 GB, free: 5.363 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/1.002, allocations: 12.69 kB / 1.025 GB, free: 5.355 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006151/1.002, allocations: 21.27 kB / 1.025 GB, free: 5.344 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/1.002, allocations: 45.41 kB / 1.025 GB, free: 5.316 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-05/1.003, allocations: 25.42 kB / 1.025 GB, free: 5.309 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004927/1.003, allocations: 448.2 kB / 1.026 GB, free: 5.055 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.9e-07/1.003, allocations: 0 / 1.026 GB, free: 5.055 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008072/1.004, allocations: 336.2 kB / 1.026 GB, free: 4.988 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1]) * 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.000316/1.004, allocations: 204 kB / 1.026 GB, free: 4.848 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001122/1.005, allocations: 0.6746 MB / 1.027 GB, free: 4.543 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.005, allocations: 2.656 kB / 1.027 GB, free: 4.543 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005165/1.006, allocations: 376.7 kB / 1.027 GB, free: 4.367 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002255/1.008, allocations: 0.5474 MB / 1.028 GB, free: 4.086 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003201/1.011, allocations: 2.124 MB / 1.03 GB, free: 2.73 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006452/1.012, allocations: 1.088 MB / 1.031 GB, free: 1.848 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0008215/1.013, allocations: 224.5 kB / 1.031 GB, free: 1.668 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002166/1.013, allocations: 83.36 kB / 1.031 GB, free: 1.586 MB / 0.7481 GB Notification: Performance of SimCode: time 1.202e-06/1.013, allocations: 0 / 1.031 GB, free: 1.586 MB / 0.7481 GB Notification: Performance of Templates: time 0.02905/1.042, allocations: 18.33 MB / 1.049 GB, free: 15.56 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.makefile (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & ./Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)