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.001114/0.001114, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001115/0.001115, allocations: 200.3 kB / 16.26 MB, free: 6.621 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.188/1.188, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.8607/0.8607, allocations: 143.1 MB / 433.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00101/0.00101, allocations: 55.91 kB / 0.5138 GB, free: 11.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1313, allocations: 82.05 MB / 0.5939 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice): time 0.3589/0.4902, allocations: 171.5 MB / 0.7614 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003091/0.4934, allocations: 2.3 MB / 0.7636 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002082/0.4936, allocations: 15.88 kB / 0.7637 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005634/0.4942, allocations: 194.9 kB / 0.7639 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00155/0.4957, allocations: 0.8792 MB / 0.7647 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001411/0.4972, allocations: 0.7477 MB / 0.7654 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008802/0.4981, allocations: 0.9819 MB / 0.7664 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003766/0.4984, allocations: 326.9 kB / 0.7667 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000521/0.499, allocations: 458.3 kB / 0.7671 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003071/0.4993, allocations: 338.6 kB / 0.7675 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.697e-05/0.4993, allocations: 32 kB / 0.7675 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001183/0.5005, allocations: 1.029 MB / 0.7685 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.5007, allocations: 147.6 kB / 0.7686 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001891/0.5009, allocations: 238.8 kB / 0.7689 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009799/0.5019, allocations: 0.9893 MB / 0.7698 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.5019, allocations: 0 / 0.7698 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.354e-06/0.5019, allocations: 0 / 0.7698 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.5019, allocations: 3.938 kB / 0.7698 GB, free: 9.402 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.001056/0.503, allocations: 0.806 MB / 0.7706 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.503, allocations: 12.03 kB / 0.7706 GB, free: 8.539 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.323e-05/0.5031, allocations: 66.53 kB / 0.7707 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00113/0.5042, allocations: 179.2 kB / 0.7709 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004312/0.5046, allocations: 373.4 kB / 0.7712 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.5047, allocations: 28.66 kB / 0.7713 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.712e-05/0.5047, allocations: 28 kB / 0.7713 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005415/0.5053, allocations: 369.1 kB / 0.7716 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.5053, allocations: 0 / 0.7716 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.98e-05/0.5053, allocations: 16 kB / 0.7717 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.925e-05/0.5053, allocations: 12 kB / 0.7717 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004519/0.5058, allocations: 261.9 kB / 0.7719 GB, free: 7.16 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.00152/0.5073, allocations: 1.68 MB / 0.7736 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003386/0.5077, allocations: 204.2 kB / 0.7737 GB, free: 5.141 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001942/0.5079, allocations: 119.2 kB / 0.7739 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009249/0.5088, allocations: 0.8717 MB / 0.7747 GB, free: 3.969 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.5089, allocations: 34.56 kB / 0.7747 GB, free: 3.926 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=23): time 1.343e-06/0.5089, allocations: 0 / 0.7747 GB, free: 3.926 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.0007722/0.5096, allocations: 357.4 kB / 0.7751 GB, free: 3.57 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/0.5097, allocations: 59.41 kB / 0.7751 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003771/0.5101, allocations: 422 kB / 0.7755 GB, free: 3.082 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.5101, allocations: 29.7 kB / 0.7756 GB, free: 3.047 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.5102, allocations: 208.3 kB / 0.7758 GB, free: 2.836 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.057e-05/0.5103, allocations: 86.75 kB / 0.7759 GB, free: 2.75 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.179e-05/0.5104, allocations: 53.69 kB / 0.7759 GB, free: 2.691 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.5105, allocations: 350.7 kB / 0.7762 GB, free: 2.34 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.5107, allocations: 83.95 kB / 0.7763 GB, free: 2.258 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001966/0.5109, allocations: 127.8 kB / 0.7764 GB, free: 2.125 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003455/0.5112, allocations: 203.2 kB / 0.7766 GB, free: 1.914 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.5112, allocations: 4.031 kB / 0.7766 GB, free: 1.91 MB / 0.5919 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000459/0.5117, allocations: 278.5 kB / 0.7769 GB, free: 1.633 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.5117, allocations: 8 kB / 0.7769 GB, free: 1.625 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-06/0.5117, allocations: 4.438 kB / 0.7769 GB, free: 1.621 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.5117, allocations: 0 / 0.7769 GB, free: 1.621 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/0.512, allocations: 51.97 kB / 0.777 GB, free: 1.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.512, allocations: 4 kB / 0.777 GB, free: 1.566 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002163/0.5122, allocations: 48.14 kB / 0.777 GB, free: 1.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.527e-05/0.5122, allocations: 11.98 kB / 0.777 GB, free: 1.508 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.0001351/0.5124, allocations: 161.7 kB / 0.7772 GB, free: 1.34 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.361e-05/0.5124, allocations: 39.64 kB / 0.7772 GB, free: 1.301 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005159/0.513, allocations: 304.5 kB / 0.7775 GB, free: 1 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.513, allocations: 4 kB / 0.7775 GB, free: 0.9961 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.513, allocations: 0 / 0.7775 GB, free: 0.9961 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.513, allocations: 4.031 kB / 0.7775 GB, free: 0.9922 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.514, allocations: 0.8003 MB / 0.7783 GB, free: 120 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.5141, allocations: 11.92 kB / 0.7783 GB, free: 108 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002114/0.5143, allocations: 47.97 kB / 0.7784 GB, free: 60 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.5143, allocations: 3.938 kB / 0.7784 GB, free: 56 kB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.5143, allocations: 8 kB / 0.7784 GB, free: 48 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.5143, allocations: 4 kB / 0.7784 GB, free: 44 kB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5143, allocations: 0 / 0.7784 GB, free: 44 kB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000702/0.515, allocations: 0.5116 MB / 0.7789 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.5152, allocations: 144.6 kB / 0.779 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.465e-05/0.5152, allocations: 8 kB / 0.779 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000275/0.5155, allocations: 23.97 kB / 0.779 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.115e-05/0.5156, allocations: 23.89 kB / 0.7791 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.836e-05/0.5156, allocations: 8 kB / 0.7791 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002638/0.5159, allocations: 303.1 kB / 0.7794 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5159, allocations: 0 / 0.7794 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003719/0.5162, allocations: 123.9 kB / 0.7795 GB, free: 14.86 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.001166/0.5174, allocations: 1.121 MB / 0.7806 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004395/0.5179, allocations: 226.7 kB / 0.7808 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5179, allocations: 4 kB / 0.7808 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002034/0.5181, allocations: 111.8 kB / 0.7809 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000991/0.5191, allocations: 238.8 kB / 0.7811 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004316/0.5234, allocations: 3.835 MB / 0.7849 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.5237, allocations: 0.831 MB / 0.7857 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002628/0.524, allocations: 89.16 kB / 0.7858 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/0.5242, allocations: 135.4 kB / 0.7859 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.5242, allocations: 0 / 0.7859 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02227/0.5465, allocations: 11.85 MB / 0.7975 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002056/0.5467, allocations: 242.2 kB / 0.7977 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.754/2.301, allocations: 3.938 kB / 0.7977 GB, free: 12.32 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_Orifice.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.pipe 2>&1)