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: "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 108 kB / 15.61 MB, free: 152 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.001083/0.001083, allocations: 193.1 kB / 16.53 MB, free: 6.664 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.153/1.153, allocations: 222.9 MB / 240.2 MB, free: 4.41 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 0.8576/0.8576, allocations: 143 MB / 433.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001103/0.001103, allocations: 59.91 kB / 0.5143 GB, free: 11.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1222, allocations: 82.05 MB / 0.5944 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice): time 0.3442/0.4665, allocations: 173.9 MB / 0.7642 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00291/0.4694, allocations: 2.309 MB / 0.7664 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001872/0.4696, allocations: 19.88 kB / 0.7664 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005208/0.4702, allocations: 230.4 kB / 0.7667 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001455/0.4717, allocations: 0.9372 MB / 0.7676 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001352/0.473, allocations: 0.8067 MB / 0.7684 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008183/0.4739, allocations: 0.9702 MB / 0.7693 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003881/0.4743, allocations: 340.5 kB / 0.7696 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004796/0.4747, allocations: 454.3 kB / 0.7701 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003066/0.4751, allocations: 310.7 kB / 0.7704 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.558e-05/0.4751, allocations: 36 kB / 0.7704 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001243/0.4764, allocations: 0.9898 MB / 0.7714 GB, free: 7.949 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.4765, allocations: 143.5 kB / 0.7715 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001969/0.4767, allocations: 238.8 kB / 0.7717 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009482/0.4777, allocations: 0.9116 MB / 0.7726 GB, free: 6.66 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.4777, allocations: 3.938 kB / 0.7726 GB, free: 6.656 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.022e-06/0.4777, allocations: 0 / 0.7726 GB, free: 6.656 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.042e-06/0.4777, allocations: 4 kB / 0.7726 GB, free: 6.652 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.001011/0.4787, allocations: 0.7988 MB / 0.7734 GB, free: 5.809 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.044e-05/0.4788, allocations: 12.03 kB / 0.7734 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.158e-05/0.4788, allocations: 66.53 kB / 0.7735 GB, free: 5.723 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001078/0.4799, allocations: 183.2 kB / 0.7737 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004212/0.4803, allocations: 381.3 kB / 0.774 GB, free: 5.133 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.4804, allocations: 28.59 kB / 0.774 GB, free: 5.105 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.345e-05/0.4804, allocations: 31.94 kB / 0.7741 GB, free: 5.074 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005142/0.4809, allocations: 365.2 kB / 0.7744 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.481, allocations: 3.938 kB / 0.7744 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.891e-05/0.481, allocations: 16 kB / 0.7744 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.98e-05/0.481, allocations: 11.98 kB / 0.7745 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004403/0.4815, allocations: 258 kB / 0.7747 GB, free: 4.406 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.00149/0.483, allocations: 1.684 MB / 0.7763 GB, free: 2.59 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003264/0.4833, allocations: 209.2 kB / 0.7765 GB, free: 2.379 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001918/0.4835, allocations: 115.8 kB / 0.7767 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009059/0.4844, allocations: 0.8716 MB / 0.7775 GB, free: 1.211 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.4845, allocations: 42.5 kB / 0.7775 GB, free: 1.16 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=23): time 1.262e-06/0.4845, allocations: 0 / 0.7775 GB, free: 1.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.0007636/0.4852, allocations: 357.4 kB / 0.7779 GB, free: 0.8047 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.536e-05/0.4853, allocations: 51.41 kB / 0.7779 GB, free: 0.7422 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003808/0.4856, allocations: 422 kB / 0.7783 GB, free: 328 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.4857, allocations: 29.7 kB / 0.7784 GB, free: 292 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.4858, allocations: 212.3 kB / 0.7786 GB, free: 72 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.943e-05/0.4859, allocations: 86.75 kB / 0.7787 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.942e-05/0.486, allocations: 49.7 kB / 0.7787 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.4861, allocations: 350.7 kB / 0.779 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.4863, allocations: 80.89 kB / 0.7791 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/0.4865, allocations: 132.5 kB / 0.7792 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003562/0.4868, allocations: 206.5 kB / 0.7794 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4868, allocations: 3.938 kB / 0.7794 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004638/0.4873, allocations: 273.2 kB / 0.7797 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.4873, allocations: 21.02 kB / 0.7797 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.4873, allocations: 0 / 0.7797 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.4874, allocations: 4 kB / 0.7797 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002027/0.4876, allocations: 51.92 kB / 0.7798 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.4876, allocations: 2.375 kB / 0.7798 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001866/0.4878, allocations: 35.61 kB / 0.7798 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/0.4878, allocations: 8.547 kB / 0.7798 GB, free: 14.75 MB / 0.6075 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.0001352/0.4879, allocations: 165.8 kB / 0.78 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.25e-05/0.488, allocations: 43.53 kB / 0.78 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004993/0.4885, allocations: 288.2 kB / 0.7803 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.4885, allocations: 96 / 0.7803 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.4885, allocations: 7.984 kB / 0.7803 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.4885, allocations: 3.938 kB / 0.7803 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.4896, allocations: 0.8048 MB / 0.7811 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.4896, allocations: 8.438 kB / 0.7811 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001998/0.4898, allocations: 51.91 kB / 0.7811 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.4898, allocations: 4.188 kB / 0.7811 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.4898, allocations: 11.94 kB / 0.7812 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.4898, allocations: 4.562 kB / 0.7812 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.4898, allocations: 0.625 kB / 0.7812 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006754/0.4905, allocations: 0.5075 MB / 0.7817 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.4907, allocations: 144.6 kB / 0.7818 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.13e-05/0.4907, allocations: 7.5 kB / 0.7818 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002365/0.491, allocations: 15.98 kB / 0.7818 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.36e-05/0.491, allocations: 19.98 kB / 0.7818 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.491, allocations: 11.94 kB / 0.7819 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002611/0.4913, allocations: 303.1 kB / 0.7821 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4913, allocations: 0 / 0.7821 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003693/0.4917, allocations: 119.8 kB / 0.7823 GB, free: 12.12 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.001105/0.4928, allocations: 1.122 MB / 0.7834 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004258/0.4932, allocations: 219.6 kB / 0.7836 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.4932, allocations: 0 / 0.7836 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001993/0.4934, allocations: 115.8 kB / 0.7837 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009665/0.4944, allocations: 241.3 kB / 0.7839 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003941/0.4984, allocations: 3.73 MB / 0.7875 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.4987, allocations: 0.8272 MB / 0.7884 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002371/0.4989, allocations: 88.81 kB / 0.7884 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001578/0.4991, allocations: 135.4 kB / 0.7886 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.4991, allocations: 4 kB / 0.7886 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02766/0.5268, allocations: 12.04 MB / 0.8003 GB, free: 9.715 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.589/7.115, allocations: 7.328 kB / 0.8003 GB, free: 9.711 MB / 0.6231 GB (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_Orifice.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.pipe 2>&1)