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.001042/0.001042, allocations: 106.3 kB / 16.36 MB, free: 6.289 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.001007/0.001007, allocations: 193.4 kB / 17.3 MB, free: 5.859 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.258/1.258, allocations: 222.9 MB / 241 MB, free: 15.17 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.8246/0.8246, allocations: 143.1 MB / 434.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 63.91 kB / 0.5156 GB, free: 14.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3262, allocations: 82.04 MB / 0.5957 GB, free: 16.12 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice): time 0.4568/0.7831, allocations: 173.9 MB / 0.7655 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003482/0.7866, allocations: 2.312 MB / 0.7677 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004223/0.7871, allocations: 15.28 kB / 0.7677 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006195/0.7877, allocations: 234.9 kB / 0.768 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002016/0.7898, allocations: 0.9301 MB / 0.7689 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001995/0.7918, allocations: 0.8197 MB / 0.7697 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001295/0.7931, allocations: 0.9671 MB / 0.7706 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005214/0.7936, allocations: 335.9 kB / 0.7709 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008306/0.7945, allocations: 452.7 kB / 0.7714 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004624/0.7949, allocations: 318 kB / 0.7717 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.119e-05/0.795, allocations: 33.56 kB / 0.7717 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001568/0.7966, allocations: 0.9928 MB / 0.7727 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001452/0.7967, allocations: 150.5 kB / 0.7728 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002629/0.797, allocations: 242.2 kB / 0.773 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001103/0.7981, allocations: 0.921 MB / 0.7739 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.7981, allocations: 2.688 kB / 0.774 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7982, allocations: 4.875 kB / 0.774 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.7982, allocations: 0 / 0.774 GB, free: 1.426 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.001192/0.7994, allocations: 0.8069 MB / 0.7747 GB, free: 16.88 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.7994, allocations: 12.48 kB / 0.7748 GB, free: 16.88 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001147/0.8006, allocations: 177.2 kB / 0.7749 GB, free: 16.85 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006186/0.8012, allocations: 388.8 kB / 0.7753 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.016e-05/0.8012, allocations: 23.25 kB / 0.7753 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.207e-05/0.8013, allocations: 35.11 kB / 0.7754 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005996/0.8019, allocations: 373.8 kB / 0.7757 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.8019, allocations: 4.406 kB / 0.7757 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.814e-05/0.802, allocations: 14.44 kB / 0.7757 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.123e-05/0.802, allocations: 9.656 kB / 0.7757 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004583/0.8025, allocations: 258.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.001585/0.804, allocations: 1.677 MB / 0.7776 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000319/0.8044, allocations: 207.6 kB / 0.7778 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001724/0.8046, allocations: 112.9 kB / 0.7779 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008978/0.8055, allocations: 0.8687 MB / 0.7788 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.8055, allocations: 38.69 kB / 0.7788 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=23): time 1.854e-06/0.8055, allocations: 2.594 kB / 0.7788 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.0007637/0.8063, allocations: 352 kB / 0.7791 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.8063, allocations: 59.53 kB / 0.7792 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003539/0.8067, allocations: 421.5 kB / 0.7796 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/0.8067, allocations: 29.77 kB / 0.7796 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.8068, allocations: 215.5 kB / 0.7798 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.428e-05/0.8069, allocations: 86.11 kB / 0.7799 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.179e-05/0.807, allocations: 51.91 kB / 0.78 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.8071, allocations: 351.9 kB / 0.7803 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.8073, allocations: 79.03 kB / 0.7804 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/0.8074, allocations: 127.2 kB / 0.7805 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003127/0.8078, allocations: 206.8 kB / 0.7807 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.8078, allocations: 4.391 kB / 0.7807 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000426/0.8082, allocations: 284.3 kB / 0.781 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.8082, allocations: 8.625 kB / 0.781 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.8082, allocations: 3.25 kB / 0.781 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.8083, allocations: 1.062 kB / 0.781 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002068/0.8085, allocations: 52.31 kB / 0.781 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.8085, allocations: 6.297 kB / 0.781 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001964/0.8087, allocations: 30.34 kB / 0.7811 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.511e-05/0.8087, allocations: 14.33 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.0001366/0.8089, allocations: 158 kB / 0.7812 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.189e-05/0.8089, allocations: 45.22 kB / 0.7813 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004903/0.8094, allocations: 287.8 kB / 0.7816 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.8094, allocations: 7.156 kB / 0.7816 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.8094, allocations: 0 / 0.7816 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.8095, allocations: 2.859 kB / 0.7816 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.8105, allocations: 0.8091 MB / 0.7824 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.8105, allocations: 4.312 kB / 0.7824 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002049/0.8107, allocations: 46.17 kB / 0.7824 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.8107, allocations: 3.438 kB / 0.7824 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.8107, allocations: 6.656 kB / 0.7824 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.8108, allocations: 2.469 kB / 0.7824 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.8108, allocations: 4.938 kB / 0.7824 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006287/0.8114, allocations: 0.5131 MB / 0.7829 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/0.8116, allocations: 142.5 kB / 0.7831 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.564e-05/0.8116, allocations: 9 kB / 0.7831 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002496/0.8119, allocations: 15.52 kB / 0.7831 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.256e-05/0.8119, allocations: 25.7 kB / 0.7831 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.812, allocations: 10.86 kB / 0.7831 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002495/0.8122, allocations: 303.3 kB / 0.7834 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8122, allocations: 0 / 0.7834 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004092/0.8126, allocations: 112.3 kB / 0.7835 GB, free: 12.48 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.0003816/0.813, allocations: 196.5 kB / 0.7837 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004094/0.8134, allocations: 212.8 kB / 0.7839 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.8134, allocations: 1.156 kB / 0.7839 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001791/0.8136, allocations: 116.1 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.0009454/0.8146, allocations: 231.6 kB / 0.7842 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.8159, allocations: 0.8915 MB / 0.7851 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/0.8163, allocations: 0.8266 MB / 0.7859 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002485/0.8165, allocations: 84.45 kB / 0.786 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.536e-05/0.8166, allocations: 33.02 kB / 0.786 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of SimCode: time 3.31e-07/0.8166, allocations: 0.8125 kB / 0.786 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of Templates: time 0.01154/0.8282, allocations: 8.067 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 cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.pipe 2>&1)