Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.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.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice") translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001342/0.001342, allocations: 193.4 kB / 16.25 MB, free: 6.621 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.436/1.436, allocations: 205.1 MB / 222.1 MB, free: 4.727 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.616/1.616, allocations: 292.2 MB / 0.5485 GB, free: 13.65 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.001317/0.001317, allocations: 71.59 kB / 0.671 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2401, allocations: 114.6 MB / 0.7829 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.6152/0.8554, allocations: 171.5 MB / 0.9503 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004279/0.8597, allocations: 2.273 MB / 0.9525 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009941/0.8607, allocations: 14.62 kB / 0.9525 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001012/0.8618, allocations: 194.8 kB / 0.9527 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002812/0.8646, allocations: 0.8566 MB / 0.9535 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002589/0.8672, allocations: 0.781 MB / 0.9543 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001899/0.8691, allocations: 0.9721 MB / 0.9553 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005919/0.8697, allocations: 318.2 kB / 0.9556 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001037/0.8708, allocations: 460.8 kB / 0.956 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005145/0.8713, allocations: 332.1 kB / 0.9563 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.042e-05/0.8714, allocations: 32.78 kB / 0.9564 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002307/0.8737, allocations: 1.039 MB / 0.9574 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002053/0.8739, allocations: 149.5 kB / 0.9575 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003323/0.8742, allocations: 234.4 kB / 0.9577 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002226/0.8765, allocations: 0.9791 MB / 0.9587 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.8765, allocations: 0 / 0.9587 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.684e-06/0.8765, allocations: 0.5625 kB / 0.9587 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.989e-06/0.8765, allocations: 0 / 0.9587 GB, free: 5.594 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001691/0.8782, allocations: 0.8068 MB / 0.9595 GB, free: 21.04 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.8783, allocations: 9.125 kB / 0.9595 GB, free: 21.04 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001497/0.8798, allocations: 179.8 kB / 0.9597 GB, free: 21.01 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006154/0.8804, allocations: 373.3 kB / 0.96 GB, free: 20.76 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.8804, allocations: 20.34 kB / 0.96 GB, free: 20.76 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.82e-05/0.8805, allocations: 33.91 kB / 0.9601 GB, free: 20.76 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006207/0.8811, allocations: 378.2 kB / 0.9604 GB, free: 20.66 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.8812, allocations: 1.094 kB / 0.9604 GB, free: 20.66 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.197e-05/0.8812, allocations: 11.3 kB / 0.9604 GB, free: 20.66 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.515e-05/0.8812, allocations: 16.14 kB / 0.9605 GB, free: 20.66 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000492/0.8817, allocations: 262.5 kB / 0.9607 GB, free: 20.65 MB / 0.7481 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.001847/0.8836, allocations: 1.673 MB / 0.9623 GB, free: 19.51 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003638/0.884, allocations: 206.6 kB / 0.9625 GB, free: 19.48 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001983/0.8842, allocations: 121 kB / 0.9626 GB, free: 19.47 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00111/0.8853, allocations: 0.875 MB / 0.9635 GB, free: 18.53 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.8853, allocations: 34.75 kB / 0.9635 GB, free: 18.49 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=23): time 1.844e-06/0.8853, allocations: 0 / 0.9635 GB, free: 18.49 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23): time 0.0008697/0.8862, allocations: 354.9 kB / 0.9639 GB, free: 18.43 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/0.8863, allocations: 57.41 kB / 0.9639 GB, free: 18.37 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004233/0.8867, allocations: 426.8 kB / 0.9643 GB, free: 18.25 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/0.8867, allocations: 30.61 kB / 0.9644 GB, free: 18.22 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.8869, allocations: 212.6 kB / 0.9646 GB, free: 18.12 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.201e-05/0.8869, allocations: 80.31 kB / 0.9646 GB, free: 18.06 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.094e-05/0.887, allocations: 54.42 kB / 0.9647 GB, free: 18.05 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.8872, allocations: 350.3 kB / 0.965 GB, free: 17.73 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.8873, allocations: 78.72 kB / 0.9651 GB, free: 17.73 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002178/0.8876, allocations: 136.9 kB / 0.9652 GB, free: 17.69 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003552/0.8879, allocations: 206.9 kB / 0.9654 GB, free: 17.66 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.888, allocations: 1.125 kB / 0.9654 GB, free: 17.66 MB / 0.7481 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005046/0.8885, allocations: 286.5 kB / 0.9657 GB, free: 17.59 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.8885, allocations: 4.906 kB / 0.9657 GB, free: 17.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.8885, allocations: 2.422 kB / 0.9657 GB, free: 17.59 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.8885, allocations: 2.594 kB / 0.9657 GB, free: 17.59 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/0.8888, allocations: 52.03 kB / 0.9658 GB, free: 17.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.8888, allocations: 1.75 kB / 0.9658 GB, free: 17.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003304/0.8891, allocations: 45.61 kB / 0.9658 GB, free: 17.57 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.026e-05/0.8892, allocations: 9.469 kB / 0.9658 GB, free: 17.57 MB / 0.7481 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001704/0.8893, allocations: 165.2 kB / 0.966 GB, free: 17.46 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.216e-05/0.8894, allocations: 40.41 kB / 0.966 GB, free: 17.44 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005677/0.89, allocations: 284.2 kB / 0.9663 GB, free: 17.39 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.89, allocations: 7.312 kB / 0.9663 GB, free: 17.39 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.89, allocations: 1.75 kB / 0.9663 GB, free: 17.39 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.89, allocations: 1.203 kB / 0.9663 GB, free: 17.39 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001294/0.8913, allocations: 0.8124 MB / 0.9671 GB, free: 17.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.8913, allocations: 2.125 kB / 0.9671 GB, free: 17.02 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000262/0.8916, allocations: 47.72 kB / 0.9671 GB, free: 17.02 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-05/0.8916, allocations: 9.109 kB / 0.9671 GB, free: 17.02 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.074e-05/0.8917, allocations: 7.812 kB / 0.9672 GB, free: 17.02 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.728e-06/0.8917, allocations: 2.531 kB / 0.9672 GB, free: 17.02 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.8917, allocations: 2.312 kB / 0.9672 GB, free: 17.02 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008359/0.8925, allocations: 0.5095 MB / 0.9677 GB, free: 16.81 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001757/0.8927, allocations: 147.5 kB / 0.9678 GB, free: 16.69 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.508e-05/0.8928, allocations: 7.688 kB / 0.9678 GB, free: 16.69 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003036/0.8931, allocations: 27.17 kB / 0.9678 GB, free: 16.68 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.9e-05/0.8932, allocations: 22.69 kB / 0.9679 GB, free: 16.68 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.8932, allocations: 11.38 kB / 0.9679 GB, free: 16.68 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003465/0.8936, allocations: 303.1 kB / 0.9682 GB, free: 16.6 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8936, allocations: 0 / 0.9682 GB, free: 16.6 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00054/0.8941, allocations: 113.2 kB / 0.9683 GB, free: 16.59 MB / 0.7481 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 (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.000482/0.8946, allocations: 192.4 kB / 0.9684 GB, free: 16.48 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005312/0.8951, allocations: 218.2 kB / 0.9687 GB, free: 16.47 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.8952, allocations: 1.156 kB / 0.9687 GB, free: 16.47 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002164/0.8954, allocations: 120.6 kB / 0.9688 GB, free: 16.46 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/0.8965, allocations: 225.2 kB / 0.969 GB, free: 16.43 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.898, allocations: 1.031 MB / 0.97 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004064/0.8984, allocations: 0.8234 MB / 0.9708 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003291/0.8987, allocations: 84.73 kB / 0.9709 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.651e-05/0.8988, allocations: 38.97 kB / 0.9709 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of SimCode: time 3.71e-07/0.8988, allocations: 0 / 0.9709 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of Templates: time 0.01471/0.9135, allocations: 7.956 MB / 0.9787 GB, free: 14.61 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.makefile (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.sim & ./Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1)