Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.Orifice") translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.649/1.649, allocations: 287.5 MB / 302.6 MB, free: 8.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001081/0.001081, allocations: 185.7 kB / 371.2 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.414/1.414, allocations: 205.4 MB / 0.6298 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008032/0.0008031, allocations: 99.47 kB / 0.7432 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003935/0.0003935, allocations: 11.59 kB / 0.8661 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2032, allocations: 115.3 MB / 0.9787 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.6737/0.877, allocations: 158 MB / 1.133 GB, free: 296 kB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.004315/0.8814, allocations: 2.17 MB / 1.135 GB, free: 15.62 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005518/0.882, allocations: 10.84 kB / 1.135 GB, free: 15.62 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007483/0.8827, allocations: 152.3 kB / 1.135 GB, free: 15.55 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00215/0.8849, allocations: 0.6577 MB / 1.136 GB, free: 15.27 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002119/0.887, allocations: 0.6218 MB / 1.136 GB, free: 15.09 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001527/0.8886, allocations: 1.154 MB / 1.138 GB, free: 14.88 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004327/0.889, allocations: 277.4 kB / 1.138 GB, free: 14.83 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007628/0.8898, allocations: 409.5 kB / 1.138 GB, free: 14.73 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004546/0.8902, allocations: 304.3 kB / 1.139 GB, free: 14.65 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.95e-05/0.8903, allocations: 18.88 kB / 1.139 GB, free: 14.65 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001515/0.8918, allocations: 0.5341 MB / 1.139 GB, free: 14.56 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001634/0.892, allocations: 128.4 kB / 1.139 GB, free: 14.55 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.8921, allocations: 117.1 kB / 1.139 GB, free: 14.5 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0009572/0.8931, allocations: 0.5558 MB / 1.14 GB, free: 14.41 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.859e-06/0.8931, allocations: 1.75 kB / 1.14 GB, free: 14.41 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.105e-06/0.8931, allocations: 0 / 1.14 GB, free: 14.41 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.183e-05/0.8932, allocations: 0 / 1.14 GB, free: 14.41 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.00158/0.8948, allocations: 0.7319 MB / 1.141 GB, free: 13.86 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.821e-05/0.8948, allocations: 11.09 kB / 1.141 GB, free: 13.86 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001266/0.8961, allocations: 181.3 kB / 1.141 GB, free: 13.83 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007162/0.8968, allocations: 378.8 kB / 1.141 GB, free: 13.56 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.723e-05/0.8969, allocations: 21.34 kB / 1.141 GB, free: 13.55 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.552e-05/0.897, allocations: 29.19 kB / 1.141 GB, free: 13.55 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008022/0.8978, allocations: 375.6 kB / 1.141 GB, free: 13.45 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/0.8978, allocations: 0 / 1.141 GB, free: 13.45 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.913e-05/0.8979, allocations: 13.81 kB / 1.142 GB, free: 13.45 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.201e-05/0.8979, allocations: 10.59 kB / 1.142 GB, free: 13.45 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006432/0.8986, allocations: 278.9 kB / 1.142 GB, free: 13.43 MB / 0.698 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.002327/0.9009, allocations: 1.67 MB / 1.143 GB, free: 12.26 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005253/0.9014, allocations: 213.4 kB / 1.144 GB, free: 12.23 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002784/0.9017, allocations: 124 kB / 1.144 GB, free: 12.21 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001385/0.9031, allocations: 0.8865 MB / 1.145 GB, free: 11.27 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.675e-05/0.9032, allocations: 33.91 kB / 1.145 GB, free: 11.23 MB / 0.698 GB Notification: Performance of pre-optimization done (n=23): time 2.725e-06/0.9032, allocations: 0 / 1.145 GB, free: 11.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.001192/0.9044, allocations: 371.4 kB / 1.145 GB, free: 11.17 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.517e-05/0.9045, allocations: 57.91 kB / 1.145 GB, free: 11.11 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006559/0.9051, allocations: 420.2 kB / 1.145 GB, free: 10.99 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.062e-05/0.9052, allocations: 33.02 kB / 1.145 GB, free: 10.96 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002161/0.9054, allocations: 213.2 kB / 1.146 GB, free: 10.85 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.687e-05/0.9055, allocations: 77.61 kB / 1.146 GB, free: 10.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.245e-05/0.9055, allocations: 3.906 kB / 1.146 GB, free: 10.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002006/0.9057, allocations: 353.8 kB / 1.146 GB, free: 10.48 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000231/0.906, allocations: 88.72 kB / 1.146 GB, free: 10.48 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002717/0.9063, allocations: 126 kB / 1.146 GB, free: 10.45 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004929/0.9068, allocations: 227.6 kB / 1.147 GB, free: 10.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.9068, allocations: 0 / 1.147 GB, free: 10.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006677/0.9075, allocations: 291 kB / 1.147 GB, free: 10.34 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/0.9075, allocations: 6.25 kB / 1.147 GB, free: 10.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.9075, allocations: 0 / 1.147 GB, free: 10.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.674e-05/0.9076, allocations: 2.5 kB / 1.147 GB, free: 10.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002896/0.9079, allocations: 53.23 kB / 1.147 GB, free: 10.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/0.9079, allocations: 2.188 kB / 1.147 GB, free: 10.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003616/0.9083, allocations: 48.38 kB / 1.147 GB, free: 10.31 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-05/0.9083, allocations: 16.19 kB / 1.147 GB, free: 10.31 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000254/0.9086, allocations: 164.8 kB / 1.147 GB, free: 10.19 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.484e-05/0.9087, allocations: 39.66 kB / 1.147 GB, free: 10.17 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007099/0.9094, allocations: 302.8 kB / 1.147 GB, free: 10.12 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.9094, allocations: 2.438 kB / 1.147 GB, free: 10.12 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.9094, allocations: 1.094 kB / 1.147 GB, free: 10.12 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.9094, allocations: 2.484 kB / 1.147 GB, free: 10.12 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001684/0.9111, allocations: 0.8171 MB / 1.148 GB, free: 9.695 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/0.9112, allocations: 2.406 kB / 1.148 GB, free: 9.695 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002337/0.9114, allocations: 56.97 kB / 1.148 GB, free: 9.676 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.9114, allocations: 3.188 kB / 1.148 GB, free: 9.676 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/0.9114, allocations: 6.344 kB / 1.148 GB, free: 9.676 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.68e-06/0.9114, allocations: 3.375 kB / 1.148 GB, free: 9.676 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.9115, allocations: 5.25 kB / 1.148 GB, free: 9.672 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000866/0.9123, allocations: 0.526 MB / 1.149 GB, free: 9.406 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001781/0.9125, allocations: 143.9 kB / 1.149 GB, free: 9.277 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.138e-05/0.9126, allocations: 6.938 kB / 1.149 GB, free: 9.277 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000288/0.9129, allocations: 27.27 kB / 1.149 GB, free: 9.27 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.804e-05/0.913, allocations: 25.19 kB / 1.149 GB, free: 9.254 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.913, allocations: 8.781 kB / 1.149 GB, free: 9.254 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003768/0.9134, allocations: 300.2 kB / 1.149 GB, free: 9.129 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.51e-07/0.9134, allocations: 0 / 1.149 GB, free: 9.129 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005416/0.9139, allocations: 108.5 kB / 1.149 GB, free: 9.121 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (ori.mExc,den1.d,den2.d) * 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 (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005431/0.9145, allocations: 196.8 kB / 1.15 GB, free: 8.988 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005259/0.915, allocations: 219.3 kB / 1.15 GB, free: 8.945 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.915, allocations: 0.9062 kB / 1.15 GB, free: 8.945 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002327/0.9153, allocations: 116.9 kB / 1.15 GB, free: 8.922 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/0.9165, allocations: 208.4 kB / 1.15 GB, free: 8.855 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001746/0.9183, allocations: 1.091 MB / 1.151 GB, free: 8.094 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004539/0.9187, allocations: 0.8202 MB / 1.152 GB, free: 7.344 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003418/0.9191, allocations: 85.59 kB / 1.152 GB, free: 7.305 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.206e-05/0.9192, allocations: 34.84 kB / 1.152 GB, free: 7.297 MB / 0.698 GB Notification: Performance of SimCode: time 2.61e-07/0.9192, allocations: 5.156 kB / 1.152 GB, free: 7.293 MB / 0.698 GB Notification: Performance of Templates: time 0.0172/0.9364, allocations: 7.436 MB / 1.159 GB, free: 3.609 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.Orifice.makefile (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.Orifice.sim & ./Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1)