Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice") translateModel(BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001249/0.001249, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001206/0.001206, allocations: 191 kB / 17.29 MB, free: 5.516 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.245/1.245, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8057/0.8057, allocations: 143.1 MB / 434.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 67.88 kB / 0.5156 GB, free: 14.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2874, allocations: 82.04 MB / 0.5957 GB, free: 16.17 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice): time 0.4418/0.7292, allocations: 173.9 MB / 0.7655 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003692/0.733, allocations: 2.302 MB / 0.7677 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004091/0.7334, allocations: 15.06 kB / 0.7677 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006307/0.734, allocations: 237.9 kB / 0.768 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002056/0.7362, allocations: 0.9337 MB / 0.7689 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00213/0.7383, allocations: 0.8254 MB / 0.7697 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00177/0.7401, allocations: 0.9655 MB / 0.7706 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000712/0.7408, allocations: 334.9 kB / 0.7709 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00123/0.7421, allocations: 448.9 kB / 0.7714 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005988/0.7427, allocations: 317.4 kB / 0.7717 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.384e-05/0.7428, allocations: 33.19 kB / 0.7717 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001901/0.7447, allocations: 0.9907 MB / 0.7727 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001701/0.7449, allocations: 155.2 kB / 0.7728 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002993/0.7452, allocations: 239.3 kB / 0.773 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001522/0.7467, allocations: 0.9222 MB / 0.7739 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.7467, allocations: 4.047 kB / 0.7739 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.342e-06/0.7467, allocations: 0.8438 kB / 0.7739 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.7468, allocations: 0 / 0.7739 GB, free: 1.43 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001309/0.7481, allocations: 0.8115 MB / 0.7747 GB, free: 16.88 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.7481, allocations: 9.031 kB / 0.7748 GB, free: 16.88 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001211/0.7493, allocations: 175.6 kB / 0.7749 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006116/0.75, allocations: 390 kB / 0.7753 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.612e-05/0.75, allocations: 20.03 kB / 0.7753 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.796e-05/0.7501, allocations: 30.78 kB / 0.7753 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006571/0.7507, allocations: 379.3 kB / 0.7757 GB, free: 16.51 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.7508, allocations: 6.031 kB / 0.7757 GB, free: 16.51 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.21e-05/0.7508, allocations: 14.5 kB / 0.7757 GB, free: 16.51 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.258e-05/0.7508, allocations: 11.77 kB / 0.7757 GB, free: 16.51 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000442/0.7513, allocations: 260.5 kB / 0.776 GB, free: 16.5 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.001609/0.7529, allocations: 1.671 MB / 0.7776 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003239/0.7532, allocations: 202.5 kB / 0.7778 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001777/0.7534, allocations: 122 kB / 0.7779 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009054/0.7543, allocations: 0.8732 MB / 0.7788 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.7544, allocations: 33.53 kB / 0.7788 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=23): time 1.442e-06/0.7544, allocations: 4.031 kB / 0.7788 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.0007744/0.7552, allocations: 354.9 kB / 0.7791 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.7552, allocations: 60.94 kB / 0.7792 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003547/0.7556, allocations: 421.7 kB / 0.7796 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.7556, allocations: 32.08 kB / 0.7796 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.7557, allocations: 211.3 kB / 0.7798 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.604e-05/0.7558, allocations: 82.17 kB / 0.7799 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.321e-05/0.7559, allocations: 53.69 kB / 0.78 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.756, allocations: 351 kB / 0.7803 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/0.7561, allocations: 78.52 kB / 0.7804 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001755/0.7563, allocations: 124.4 kB / 0.7805 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003193/0.7567, allocations: 214.3 kB / 0.7807 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.7567, allocations: 0.875 kB / 0.7807 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004308/0.7571, allocations: 284 kB / 0.781 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.7571, allocations: 11.97 kB / 0.781 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.7571, allocations: 0 / 0.781 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.7572, allocations: 4.172 kB / 0.781 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002153/0.7574, allocations: 56.5 kB / 0.781 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.7574, allocations: 0 / 0.781 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/0.7576, allocations: 32.92 kB / 0.7811 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.493e-05/0.7576, allocations: 7.906 kB / 0.7811 GB, free: 13.46 MB / 0.5919 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.0001423/0.7578, allocations: 165.1 kB / 0.7812 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.423e-05/0.7579, allocations: 42.5 kB / 0.7813 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004899/0.7583, allocations: 285.1 kB / 0.7816 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.7584, allocations: 4.125 kB / 0.7816 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.7584, allocations: 3.094 kB / 0.7816 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.7584, allocations: 3.859 kB / 0.7816 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.7594, allocations: 0.8167 MB / 0.7824 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.7594, allocations: 2.844 kB / 0.7824 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002063/0.7596, allocations: 44.08 kB / 0.7824 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.7596, allocations: 2.844 kB / 0.7824 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/0.7597, allocations: 13.66 kB / 0.7824 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.7597, allocations: 3.375 kB / 0.7824 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.7597, allocations: 6.094 kB / 0.7824 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006502/0.7603, allocations: 0.5066 MB / 0.7829 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001503/0.7605, allocations: 144.5 kB / 0.7831 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.497e-05/0.7606, allocations: 6.531 kB / 0.7831 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002491/0.7608, allocations: 16.98 kB / 0.7831 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.241e-05/0.7609, allocations: 24.05 kB / 0.7831 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.7609, allocations: 8.5 kB / 0.7831 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002485/0.7612, allocations: 302.9 kB / 0.7834 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7612, allocations: 0 / 0.7834 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004029/0.7616, allocations: 112.8 kB / 0.7835 GB, free: 12.49 MB / 0.5919 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.0003724/0.7619, allocations: 194.8 kB / 0.7837 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004129/0.7624, allocations: 213.6 kB / 0.7839 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.7624, allocations: 2.688 kB / 0.7839 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001899/0.7626, allocations: 112.7 kB / 0.784 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009561/0.7635, allocations: 228.6 kB / 0.7842 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.7649, allocations: 0.8905 MB / 0.7851 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004374/0.7654, allocations: 0.8243 MB / 0.7859 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002605/0.7657, allocations: 87.05 kB / 0.786 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.915e-05/0.7657, allocations: 32.47 kB / 0.786 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of SimCode: time 4.81e-07/0.7658, allocations: 0 / 0.786 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of Templates: time 0.01187/0.7776, allocations: 8.088 MB / 0.7939 GB, free: 10.83 MB / 0.5919 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.sim & ./BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.pipe 2>&1)