Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.Airflow.Multizone.Examples.Orifice") translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.008249/0.00825, allocations: 106.7 kB / 15.74 MB, free: 5.996 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.001393/0.001393, allocations: 197 kB / 16.67 MB, free: 5.918 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.628/1.628, allocations: 205.1 MB / 222.6 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6284/0.6284, allocations: 95.47 MB / 365.4 MB, free: 9.762 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 74.08 kB / 0.5036 GB, free: 13.46 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1623, allocations: 69.09 MB / 0.5711 GB, free: 8.316 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.657/0.8194, allocations: 193.2 MB / 0.7597 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004268/0.8237, allocations: 1.813 MB / 0.7615 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006753/0.8245, allocations: 11.94 kB / 0.7615 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001276/0.8258, allocations: 321.9 kB / 0.7618 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002116/0.828, allocations: 0.8044 MB / 0.7626 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004297/0.8323, allocations: 1.548 MB / 0.7641 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001722/0.834, allocations: 1.36 MB / 0.7654 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008041/0.8348, allocations: 447.4 kB / 0.7659 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001233/0.8361, allocations: 0.5409 MB / 0.7664 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009081/0.837, allocations: 473.8 kB / 0.7669 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.8371, allocations: 60 kB / 0.7669 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003091/0.8402, allocations: 1.645 MB / 0.7685 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002704/0.8405, allocations: 239.3 kB / 0.7687 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004249/0.8409, allocations: 382.2 kB / 0.7691 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002346/0.8433, allocations: 1.705 MB / 0.7708 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.8433, allocations: 4 kB / 0.7708 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.362e-06/0.8433, allocations: 0 / 0.7708 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.187e-06/0.8433, allocations: 0 / 0.7708 GB, free: 1.801 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001989/0.8453, allocations: 1.126 MB / 0.7719 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.8453, allocations: 11.98 kB / 0.7719 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002889/0.8456, allocations: 91.08 kB / 0.772 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006666/0.8463, allocations: 0.4886 MB / 0.7725 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.128e-05/0.8463, allocations: 37 kB / 0.7725 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.569e-05/0.8464, allocations: 48 kB / 0.7725 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008977/0.8473, allocations: 0.5816 MB / 0.7731 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.8474, allocations: 0 / 0.7731 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.483e-05/0.8474, allocations: 20 kB / 0.7731 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.108e-05/0.8475, allocations: 19.94 kB / 0.7731 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008803/0.8483, allocations: 0.5347 MB / 0.7737 GB, free: 14.74 MB / 0.5919 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.002852/0.8512, allocations: 2.236 MB / 0.7758 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006837/0.8519, allocations: 346.4 kB / 0.7762 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000275/0.8522, allocations: 168.5 kB / 0.7763 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001274/0.8535, allocations: 1.388 MB / 0.7777 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.8535, allocations: 38.56 kB / 0.7777 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=35): time 1.363e-06/0.8535, allocations: 0 / 0.7777 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of matching and sorting (n=35): time 0.00104/0.8546, allocations: 0.5239 MB / 0.7782 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.47e-05/0.8546, allocations: 63.2 kB / 0.7783 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006401/0.8553, allocations: 0.6203 MB / 0.7789 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.209e-05/0.8553, allocations: 33.7 kB / 0.7789 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002032/0.8555, allocations: 288.1 kB / 0.7792 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.8556, allocations: 118.2 kB / 0.7793 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.8558, allocations: 86.02 kB / 0.7794 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.8559, allocations: 374.8 kB / 0.7798 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002844/0.8562, allocations: 152.8 kB / 0.7799 GB, free: 7.793 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003271/0.8565, allocations: 223.1 kB / 0.7801 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006338/0.8572, allocations: 396.5 kB / 0.7805 GB, free: 7.141 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.8572, allocations: 4 kB / 0.7805 GB, free: 7.137 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008644/0.8581, allocations: 0.4999 MB / 0.781 GB, free: 6.629 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.8581, allocations: 15.88 kB / 0.781 GB, free: 6.613 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.8581, allocations: 0 / 0.781 GB, free: 6.613 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/0.8581, allocations: 7.984 kB / 0.781 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003975/0.8585, allocations: 87.89 kB / 0.7811 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.8586, allocations: 4.188 kB / 0.7811 GB, free: 6.516 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000367/0.8589, allocations: 60.23 kB / 0.7812 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.979e-05/0.859, allocations: 23.94 kB / 0.7812 GB, free: 6.434 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (49): * Single equations (assignments): 49 * 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.0002167/0.8592, allocations: 189.7 kB / 0.7814 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.8593, allocations: 63.28 kB / 0.7814 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00108/0.8604, allocations: 0.616 MB / 0.782 GB, free: 5.547 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.8604, allocations: 4 kB / 0.782 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.8604, allocations: 0 / 0.782 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/0.8605, allocations: 11.86 kB / 0.782 GB, free: 5.531 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001521/0.862, allocations: 1.172 MB / 0.7832 GB, free: 4.293 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.822e-06/0.862, allocations: 8 kB / 0.7832 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003192/0.8623, allocations: 63.91 kB / 0.7833 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.271e-06/0.8623, allocations: 4 kB / 0.7833 GB, free: 4.219 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.96e-05/0.8624, allocations: 11.98 kB / 0.7833 GB, free: 4.207 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.8624, allocations: 4 kB / 0.7833 GB, free: 4.203 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.8624, allocations: 0 / 0.7833 GB, free: 4.203 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001218/0.8636, allocations: 0.8655 MB / 0.7841 GB, free: 3.312 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002389/0.8639, allocations: 200.2 kB / 0.7843 GB, free: 3.098 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.191e-05/0.864, allocations: 15.91 kB / 0.7843 GB, free: 3.082 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000407/0.8644, allocations: 19.98 kB / 0.7843 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.591e-05/0.8645, allocations: 28.05 kB / 0.7844 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.806e-05/0.8645, allocations: 23.98 kB / 0.7844 GB, free: 3.012 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005217/0.865, allocations: 499 kB / 0.7849 GB, free: 2.523 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8651, allocations: 0 / 0.7849 GB, free: 2.523 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001009/0.8661, allocations: 359.5 kB / 0.7852 GB, free: 2.172 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (38): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0009309/0.867, allocations: 468.6 kB / 0.7857 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007506/0.8678, allocations: 424.8 kB / 0.7861 GB, free: 1.301 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.8678, allocations: 4 kB / 0.7861 GB, free: 1.297 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003506/0.8681, allocations: 229.8 kB / 0.7863 GB, free: 1.074 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001459/0.8696, allocations: 359.5 kB / 0.7866 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001963/0.8716, allocations: 1.294 MB / 0.7879 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004341/0.872, allocations: 0.9064 MB / 0.7888 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003972/0.8724, allocations: 133.1 kB / 0.7889 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/0.8726, allocations: 59.42 kB / 0.789 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of SimCode: time 2.9e-07/0.8726, allocations: 0 / 0.789 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of Templates: time 0.02704/0.8996, allocations: 17.82 MB / 0.8064 GB, free: 12.59 MB / 0.6231 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.Orifice.makefile (rm -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_1.6_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_1.6_Buildings.Airflow.Multizone.Examples.Orifice.sim & ./Buildings_1.6_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1)