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.001083/0.001083, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001081/0.001081, allocations: 191.8 kB / 16.14 MB, free: 6.688 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.149/1.149, allocations: 222.9 MB / 239.8 MB, free: 4.613 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.8268/0.8268, allocations: 143.1 MB / 433 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001037/0.001037, allocations: 63.91 kB / 0.5136 GB, free: 12.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1191, allocations: 82.04 MB / 0.5937 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice): time 0.3277/0.4468, allocations: 171.6 MB / 0.7613 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002826/0.4497, allocations: 2.327 MB / 0.7636 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001867/0.4499, allocations: 15.88 kB / 0.7636 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005074/0.4504, allocations: 186.8 kB / 0.7638 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001359/0.4518, allocations: 0.8792 MB / 0.7646 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001261/0.4531, allocations: 0.7523 MB / 0.7654 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001032/0.4541, allocations: 1.341 MB / 0.7667 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003298/0.4545, allocations: 286.9 kB / 0.7669 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004701/0.455, allocations: 422.2 kB / 0.7673 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000298/0.4553, allocations: 326.7 kB / 0.7677 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.683e-05/0.4553, allocations: 20 kB / 0.7677 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001336/0.4567, allocations: 1.165 MB / 0.7688 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.4568, allocations: 147.5 kB / 0.7689 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001794/0.457, allocations: 226.8 kB / 0.7692 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009656/0.458, allocations: 0.9698 MB / 0.7701 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.458, allocations: 0 / 0.7701 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of FrontEnd: time 6.52e-07/0.458, allocations: 0 / 0.7701 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.458, allocations: 0 / 0.7701 GB, free: 9.258 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.001007/0.459, allocations: 0.8177 MB / 0.7709 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.943e-05/0.459, allocations: 8.031 kB / 0.7709 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.045e-05/0.4591, allocations: 66.53 kB / 0.771 GB, free: 8.312 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001095/0.4602, allocations: 179.2 kB / 0.7712 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004104/0.4606, allocations: 369.4 kB / 0.7715 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.4606, allocations: 24.66 kB / 0.7715 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.317e-05/0.4607, allocations: 32 kB / 0.7716 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005189/0.4612, allocations: 373.1 kB / 0.7719 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.4612, allocations: 0 / 0.7719 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.565e-05/0.4613, allocations: 12 kB / 0.7719 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.448e-05/0.4613, allocations: 12 kB / 0.7719 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004582/0.4618, allocations: 262 kB / 0.7722 GB, free: 7.012 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.001447/0.4632, allocations: 1.671 MB / 0.7738 GB, free: 5.207 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003412/0.4636, allocations: 215.4 kB / 0.774 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001954/0.4638, allocations: 112.8 kB / 0.7741 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008694/0.4647, allocations: 0.8755 MB / 0.775 GB, free: 3.816 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.4647, allocations: 38.56 kB / 0.775 GB, free: 3.77 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=23): time 1.232e-06/0.4647, allocations: 0 / 0.775 GB, free: 3.77 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.0007668/0.4655, allocations: 355.9 kB / 0.7754 GB, free: 3.418 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.4655, allocations: 55.41 kB / 0.7754 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003723/0.4659, allocations: 422 kB / 0.7758 GB, free: 2.934 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.4659, allocations: 29.7 kB / 0.7758 GB, free: 2.898 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.466, allocations: 216.3 kB / 0.7761 GB, free: 2.684 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.267e-05/0.4661, allocations: 78.77 kB / 0.7761 GB, free: 2.605 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.338e-05/0.4662, allocations: 53.69 kB / 0.7762 GB, free: 2.547 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.4663, allocations: 354.7 kB / 0.7765 GB, free: 2.191 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001711/0.4665, allocations: 75.95 kB / 0.7766 GB, free: 2.117 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/0.4667, allocations: 132.3 kB / 0.7767 GB, free: 1.98 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000342/0.467, allocations: 207.2 kB / 0.7769 GB, free: 1.766 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.467, allocations: 4 kB / 0.7769 GB, free: 1.762 MB / 0.5919 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004493/0.4675, allocations: 278.2 kB / 0.7772 GB, free: 1.484 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.4675, allocations: 4 kB / 0.7772 GB, free: 1.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.4675, allocations: 0.8125 kB / 0.7772 GB, free: 1.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.4675, allocations: 4 kB / 0.7772 GB, free: 1.477 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/0.4677, allocations: 55.91 kB / 0.7772 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.4677, allocations: 0 / 0.7772 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000214/0.468, allocations: 47.64 kB / 0.7773 GB, free: 1.375 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.24e-05/0.468, allocations: 15.92 kB / 0.7773 GB, free: 1.359 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.0001347/0.4681, allocations: 161.8 kB / 0.7775 GB, free: 1.191 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.816e-05/0.4682, allocations: 39.53 kB / 0.7775 GB, free: 1.152 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005048/0.4687, allocations: 288.7 kB / 0.7778 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.4687, allocations: 7.984 kB / 0.7778 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.4687, allocations: 4 kB / 0.7778 GB, free: 0.8516 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.4687, allocations: 3.938 kB / 0.7778 GB, free: 0.8477 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.4698, allocations: 0.8046 MB / 0.7786 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.4698, allocations: 3.938 kB / 0.7786 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002076/0.4701, allocations: 52.02 kB / 0.7786 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.4701, allocations: 7.938 kB / 0.7786 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.4701, allocations: 8 kB / 0.7786 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.4701, allocations: 0 / 0.7786 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.4701, allocations: 7.938 kB / 0.7787 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000655/0.4708, allocations: 0.5036 MB / 0.7791 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.4709, allocations: 144.6 kB / 0.7793 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.189e-05/0.471, allocations: 8.562 kB / 0.7793 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002607/0.4712, allocations: 27.97 kB / 0.7793 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.369e-05/0.4713, allocations: 23.83 kB / 0.7793 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.4713, allocations: 11.56 kB / 0.7793 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002613/0.4716, allocations: 307.1 kB / 0.7796 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4716, allocations: 0 / 0.7796 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003579/0.4719, allocations: 115.9 kB / 0.7798 GB, free: 14.71 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.001097/0.473, allocations: 1.114 MB / 0.7808 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000412/0.4735, allocations: 218.9 kB / 0.781 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4735, allocations: 0 / 0.781 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002084/0.4737, allocations: 119.9 kB / 0.7812 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009644/0.4747, allocations: 222.9 kB / 0.7814 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004109/0.4788, allocations: 3.828 MB / 0.7851 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.4791, allocations: 0.8308 MB / 0.7859 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002565/0.4794, allocations: 95.97 kB / 0.786 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.4795, allocations: 135.4 kB / 0.7861 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.4795, allocations: 0 / 0.7861 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0275/0.507, allocations: 11.55 MB / 0.7974 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001519/0.5072, allocations: 237.9 kB / 0.7977 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.634/2.141, allocations: 7.875 kB / 0.7977 GB, free: 12.46 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)