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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.00162/0.00162, allocations: 105.4 kB / 15.98 MB, free: 6.371 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.001493/0.001493, allocations: 192.9 kB / 16.91 MB, free: 6.199 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.431/1.431, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9431/0.9431, allocations: 143.3 MB / 434 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002182/0.002182, allocations: 71.88 kB / 0.5146 GB, free: 15.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3483, allocations: 82.02 MB / 0.5947 GB, free: 16.2 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice): time 0.5521/0.9004, allocations: 171.5 MB / 0.7622 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003828/0.9043, allocations: 2.298 MB / 0.7644 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005419/0.9049, allocations: 14.5 kB / 0.7644 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007789/0.9057, allocations: 201 kB / 0.7646 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002431/0.9082, allocations: 0.879 MB / 0.7655 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002169/0.9104, allocations: 0.7558 MB / 0.7662 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001598/0.912, allocations: 0.9724 MB / 0.7672 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000601/0.9126, allocations: 333.8 kB / 0.7675 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009442/0.9135, allocations: 462 kB / 0.7679 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004469/0.914, allocations: 325.9 kB / 0.7683 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.396e-05/0.9141, allocations: 33.38 kB / 0.7683 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002512/0.9166, allocations: 1.029 MB / 0.7693 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002354/0.9168, allocations: 149.9 kB / 0.7694 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000318/0.9172, allocations: 238.6 kB / 0.7697 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001192/0.9184, allocations: 0.661 MB / 0.7703 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.9184, allocations: 3.672 kB / 0.7703 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.194e-06/0.9184, allocations: 0.9688 kB / 0.7703 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.9184, allocations: 0 / 0.7703 GB, free: 1.551 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.00143/0.9198, allocations: 0.8097 MB / 0.7711 GB, free: 17 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.9199, allocations: 9.625 kB / 0.7711 GB, free: 17 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001236/0.9211, allocations: 173.6 kB / 0.7713 GB, free: 16.98 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005295/0.9217, allocations: 373.2 kB / 0.7716 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.9217, allocations: 22.69 kB / 0.7717 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.034e-05/0.9218, allocations: 32.53 kB / 0.7717 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006059/0.9224, allocations: 375.1 kB / 0.772 GB, free: 16.63 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.9224, allocations: 0 / 0.772 GB, free: 16.63 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.204e-05/0.9225, allocations: 13.22 kB / 0.7721 GB, free: 16.63 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.464e-05/0.9225, allocations: 19.12 kB / 0.7721 GB, free: 16.63 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004668/0.923, allocations: 256.6 kB / 0.7723 GB, free: 16.62 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.002081/0.9251, allocations: 1.673 MB / 0.774 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004716/0.9255, allocations: 203.9 kB / 0.7741 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002449/0.9258, allocations: 112.2 kB / 0.7743 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001311/0.9271, allocations: 0.8714 MB / 0.7751 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.16e-05/0.9272, allocations: 35.95 kB / 0.7751 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=23): time 2.044e-06/0.9272, allocations: 0 / 0.7751 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.0009084/0.9281, allocations: 360.6 kB / 0.7755 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.9281, allocations: 53.34 kB / 0.7755 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004206/0.9286, allocations: 428 kB / 0.7759 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.834e-05/0.9286, allocations: 29.45 kB / 0.776 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.9288, allocations: 212.4 kB / 0.7762 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.592e-05/0.9288, allocations: 84.69 kB / 0.7763 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.868e-05/0.9289, allocations: 51.59 kB / 0.7763 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.9291, allocations: 348.7 kB / 0.7766 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/0.9292, allocations: 86.5 kB / 0.7767 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001866/0.9294, allocations: 127.6 kB / 0.7768 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000347/0.9298, allocations: 205.3 kB / 0.777 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.9298, allocations: 3.344 kB / 0.777 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004669/0.9303, allocations: 285.7 kB / 0.7773 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.9303, allocations: 4.094 kB / 0.7773 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.9303, allocations: 3.5 kB / 0.7773 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.9303, allocations: 8.578 kB / 0.7773 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/0.9306, allocations: 52.42 kB / 0.7774 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.9306, allocations: 4.312 kB / 0.7774 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002621/0.9308, allocations: 39.98 kB / 0.7774 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.624e-05/0.9309, allocations: 6.938 kB / 0.7774 GB, free: 13.59 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.0001712/0.9311, allocations: 165.6 kB / 0.7776 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.673e-05/0.9311, allocations: 42.98 kB / 0.7776 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005266/0.9317, allocations: 298.6 kB / 0.7779 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.9317, allocations: 2 kB / 0.7779 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.9317, allocations: 0.8125 kB / 0.7779 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.9317, allocations: 3.281 kB / 0.7779 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.9329, allocations: 0.8145 MB / 0.7787 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.9329, allocations: 0 / 0.7787 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002131/0.9331, allocations: 42.8 kB / 0.7788 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/0.9331, allocations: 4.219 kB / 0.7788 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/0.9331, allocations: 8.562 kB / 0.7788 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.9331, allocations: 6.016 kB / 0.7788 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.9331, allocations: 3.594 kB / 0.7788 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007162/0.9339, allocations: 0.5072 MB / 0.7793 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001655/0.934, allocations: 138.7 kB / 0.7794 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.011e-05/0.9341, allocations: 11.84 kB / 0.7794 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002796/0.9344, allocations: 22.89 kB / 0.7794 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.434e-05/0.9345, allocations: 26.3 kB / 0.7795 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.9345, allocations: 8.75 kB / 0.7795 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002677/0.9348, allocations: 301.7 kB / 0.7798 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9348, allocations: 1 kB / 0.7798 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004425/0.9352, allocations: 115.9 kB / 0.7799 GB, free: 12.61 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.0004375/0.9357, allocations: 196.6 kB / 0.7801 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004581/0.9361, allocations: 226.2 kB / 0.7803 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.9361, allocations: 0 / 0.7803 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001948/0.9363, allocations: 117.4 kB / 0.7804 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.9374, allocations: 230.1 kB / 0.7806 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/0.9391, allocations: 1.057 MB / 0.7816 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004683/0.9396, allocations: 0.8209 MB / 0.7824 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.9397, allocations: 39.5 kB / 0.7825 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of SimCode: time 8.91e-07/0.9397, allocations: 1 kB / 0.7825 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of Templates: time 0.01056/0.9503, allocations: 6.623 MB / 0.7889 GB, free: 10.69 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 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.pipe 2>&1)