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.001544/0.001544, allocations: 100.1 kB / 15.88 MB, free: 12 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.001809/0.001809, allocations: 195.6 kB / 16.79 MB, free: 6.809 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.379/1.379, allocations: 222.9 MB / 240.5 MB, free: 4.629 MB / 190.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 1.044/1.044, allocations: 143 MB / 433.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 59.91 kB / 0.5141 GB, free: 12.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1876, allocations: 82.04 MB / 0.5943 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice): time 0.5422/0.7299, allocations: 171.6 MB / 0.7618 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004136/0.7341, allocations: 2.325 MB / 0.7641 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005438/0.7347, allocations: 11.94 kB / 0.7641 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008195/0.7356, allocations: 190.8 kB / 0.7643 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002267/0.7378, allocations: 0.8792 MB / 0.7652 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002104/0.74, allocations: 0.7509 MB / 0.7659 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001484/0.7415, allocations: 1.344 MB / 0.7672 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004357/0.7419, allocations: 286.3 kB / 0.7675 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007123/0.7426, allocations: 422.3 kB / 0.7679 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000404/0.743, allocations: 318.6 kB / 0.7682 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.664e-05/0.7431, allocations: 24 kB / 0.7682 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002035/0.7452, allocations: 1.181 MB / 0.7694 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001588/0.7453, allocations: 135.6 kB / 0.7695 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002411/0.7456, allocations: 230.8 kB / 0.7697 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.000858/0.7464, allocations: 0.6393 MB / 0.7703 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.7465, allocations: 4 kB / 0.7703 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.212e-06/0.7465, allocations: 0 / 0.7703 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.317e-06/0.7465, allocations: 0 / 0.7703 GB, free: 9.555 MB / 0.5919 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.001282/0.7478, allocations: 0.8059 MB / 0.7711 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.7478, allocations: 11.97 kB / 0.7711 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001252/0.7491, allocations: 179.2 kB / 0.7713 GB, free: 8.516 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000555/0.7496, allocations: 373.4 kB / 0.7717 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.7497, allocations: 29.16 kB / 0.7717 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.512e-05/0.7498, allocations: 28 kB / 0.7717 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006199/0.7504, allocations: 373 kB / 0.7721 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.7504, allocations: 4 kB / 0.7721 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.124e-05/0.7505, allocations: 8 kB / 0.7721 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.049e-05/0.7505, allocations: 15.98 kB / 0.7721 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005098/0.751, allocations: 267.3 kB / 0.7723 GB, free: 7.379 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.001823/0.7528, allocations: 1.675 MB / 0.774 GB, free: 5.57 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003886/0.7532, allocations: 200.2 kB / 0.7742 GB, free: 5.367 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002202/0.7535, allocations: 120.8 kB / 0.7743 GB, free: 5.246 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00114/0.7546, allocations: 0.8717 MB / 0.7751 GB, free: 4.191 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.7547, allocations: 34.56 kB / 0.7752 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=23): time 2.104e-06/0.7547, allocations: 0 / 0.7752 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.0009257/0.7556, allocations: 359.8 kB / 0.7755 GB, free: 3.793 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.7556, allocations: 55.41 kB / 0.7756 GB, free: 3.727 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004599/0.7561, allocations: 425.9 kB / 0.776 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.7562, allocations: 33.7 kB / 0.776 GB, free: 3.266 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.7563, allocations: 204.3 kB / 0.7762 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.828e-05/0.7564, allocations: 82.75 kB / 0.7763 GB, free: 2.98 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.768e-05/0.7565, allocations: 49.7 kB / 0.7763 GB, free: 2.926 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.7566, allocations: 354.7 kB / 0.7767 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.7568, allocations: 79.94 kB / 0.7767 GB, free: 2.492 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002138/0.757, allocations: 123.4 kB / 0.7769 GB, free: 2.359 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003924/0.7574, allocations: 219 kB / 0.7771 GB, free: 2.137 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.7574, allocations: 0 / 0.7771 GB, free: 2.137 MB / 0.5919 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005057/0.758, allocations: 281 kB / 0.7773 GB, free: 1.855 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.758, allocations: 4 kB / 0.7773 GB, free: 1.852 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.758, allocations: 0 / 0.7773 GB, free: 1.852 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.758, allocations: 4 kB / 0.7773 GB, free: 1.848 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002386/0.7583, allocations: 52.08 kB / 0.7774 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.639e-06/0.7583, allocations: 7.875 kB / 0.7774 GB, free: 1.789 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002716/0.7586, allocations: 44.52 kB / 0.7774 GB, free: 1.746 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.037e-05/0.7586, allocations: 11.94 kB / 0.7775 GB, free: 1.734 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.0001801/0.7588, allocations: 161.8 kB / 0.7776 GB, free: 1.566 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.562e-05/0.7589, allocations: 39.53 kB / 0.7776 GB, free: 1.527 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005669/0.7595, allocations: 290.6 kB / 0.7779 GB, free: 1.234 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.7595, allocations: 4 kB / 0.7779 GB, free: 1.23 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.7595, allocations: 7.125 kB / 0.7779 GB, free: 1.227 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.7595, allocations: 4.078 kB / 0.7779 GB, free: 1.223 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001224/0.7607, allocations: 0.8125 MB / 0.7787 GB, free: 344 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.7607, allocations: 0 / 0.7787 GB, free: 344 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002341/0.761, allocations: 55.84 kB / 0.7788 GB, free: 288 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.266e-05/0.761, allocations: 4 kB / 0.7788 GB, free: 284 kB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.229e-05/0.761, allocations: 8 kB / 0.7788 GB, free: 276 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.761, allocations: 4 kB / 0.7788 GB, free: 272 kB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.7611, allocations: 0.7031 kB / 0.7788 GB, free: 272 kB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007903/0.7618, allocations: 0.5101 MB / 0.7793 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001544/0.762, allocations: 148.6 kB / 0.7794 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.731e-05/0.7621, allocations: 0 / 0.7794 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002862/0.7624, allocations: 23.98 kB / 0.7795 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.707e-05/0.7624, allocations: 19.97 kB / 0.7795 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.7625, allocations: 8 kB / 0.7795 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003048/0.7628, allocations: 307.1 kB / 0.7798 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7628, allocations: 0 / 0.7798 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004506/0.7632, allocations: 111.8 kB / 0.7799 GB, free: 15.1 MB / 0.6075 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.0004729/0.7637, allocations: 190.7 kB / 0.7801 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004962/0.7642, allocations: 218.5 kB / 0.7803 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.7642, allocations: 0 / 0.7803 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002162/0.7645, allocations: 116.2 kB / 0.7804 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.7656, allocations: 216.6 kB / 0.7806 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/0.7672, allocations: 1.058 MB / 0.7816 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/0.7676, allocations: 0.8314 MB / 0.7824 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.7677, allocations: 35.44 kB / 0.7825 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of SimCode: time 3.1e-07/0.7677, allocations: 0 / 0.7825 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of Templates: time 0.0101/0.7778, allocations: 6.628 MB / 0.789 GB, free: 5.879 MB / 0.6075 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 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.pipe 2>&1)