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.001112/0.001111, allocations: 108 kB / 15.6 MB, free: 132 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.00106/0.00106, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.336/1.336, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.9965/0.9965, allocations: 143 MB / 433.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 63.89 kB / 0.5143 GB, free: 11.6 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1664, allocations: 82.04 MB / 0.5944 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice): time 0.4226/0.5891, allocations: 173.9 MB / 0.7642 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003495/0.5926, allocations: 2.308 MB / 0.7664 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002496/0.5929, allocations: 15.94 kB / 0.7664 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006469/0.5936, allocations: 234.3 kB / 0.7667 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001761/0.5953, allocations: 0.9333 MB / 0.7676 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001548/0.5969, allocations: 0.8193 MB / 0.7684 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008584/0.5978, allocations: 0.9624 MB / 0.7693 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004191/0.5982, allocations: 338.9 kB / 0.7696 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005539/0.5988, allocations: 450.3 kB / 0.7701 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003311/0.5991, allocations: 318.7 kB / 0.7704 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.698e-05/0.5992, allocations: 32 kB / 0.7704 GB, free: 9 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001319/0.6005, allocations: 0.9859 MB / 0.7714 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001369/0.6007, allocations: 159.5 kB / 0.7715 GB, free: 7.855 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001992/0.6009, allocations: 230.9 kB / 0.7717 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001011/0.6019, allocations: 0.9077 MB / 0.7726 GB, free: 6.719 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.6019, allocations: 0 / 0.7726 GB, free: 6.719 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6019, allocations: 4 kB / 0.7726 GB, free: 6.715 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.6019, allocations: 0 / 0.7726 GB, free: 6.715 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.00111/0.603, allocations: 0.8098 MB / 0.7734 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.6031, allocations: 16.02 kB / 0.7734 GB, free: 5.844 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.967e-05/0.6032, allocations: 59.3 kB / 0.7735 GB, free: 5.777 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001148/0.6043, allocations: 187.2 kB / 0.7737 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004474/0.6048, allocations: 373.4 kB / 0.774 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.6048, allocations: 20.66 kB / 0.774 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.808e-05/0.6049, allocations: 35.94 kB / 0.7741 GB, free: 5.137 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006013/0.6055, allocations: 369.1 kB / 0.7744 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.6055, allocations: 3.984 kB / 0.7744 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.155e-05/0.6055, allocations: 13.38 kB / 0.7744 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.25e-05/0.6056, allocations: 12 kB / 0.7745 GB, free: 4.723 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004862/0.606, allocations: 265.9 kB / 0.7747 GB, free: 4.461 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.001641/0.6077, allocations: 1.676 MB / 0.7763 GB, free: 2.652 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003566/0.6081, allocations: 211.5 kB / 0.7766 GB, free: 2.438 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001983/0.6083, allocations: 112.8 kB / 0.7767 GB, free: 2.324 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000969/0.6092, allocations: 0.8755 MB / 0.7775 GB, free: 1.266 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.6093, allocations: 34.56 kB / 0.7775 GB, free: 1.223 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=23): time 1.462e-06/0.6093, allocations: 0 / 0.7775 GB, free: 1.223 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.0008196/0.6101, allocations: 363.8 kB / 0.7779 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.6102, allocations: 51.41 kB / 0.7779 GB, free: 0.8008 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003957/0.6106, allocations: 422 kB / 0.7783 GB, free: 388 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.6106, allocations: 29.7 kB / 0.7784 GB, free: 352 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.6107, allocations: 216.3 kB / 0.7786 GB, free: 128 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.241e-05/0.6108, allocations: 78.75 kB / 0.7787 GB, free: 48 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.449e-05/0.6109, allocations: 49.7 kB / 0.7787 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.611, allocations: 358.7 kB / 0.779 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/0.6112, allocations: 80.44 kB / 0.7791 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.6114, allocations: 120.5 kB / 0.7792 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000373/0.6118, allocations: 214.4 kB / 0.7794 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.6118, allocations: 3.938 kB / 0.7794 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000487/0.6123, allocations: 285.5 kB / 0.7797 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.6124, allocations: 4 kB / 0.7797 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.6124, allocations: 0 / 0.7797 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.6124, allocations: 4.109 kB / 0.7797 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002249/0.6126, allocations: 55.84 kB / 0.7798 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.6126, allocations: 0 / 0.7798 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/0.6128, allocations: 43.09 kB / 0.7798 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.259e-05/0.6129, allocations: 8 kB / 0.7798 GB, free: 14.81 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.0001554/0.613, allocations: 161.8 kB / 0.78 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.034e-05/0.6131, allocations: 43.53 kB / 0.78 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000561/0.6137, allocations: 289.8 kB / 0.7803 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.6137, allocations: 11.98 kB / 0.7803 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.6137, allocations: 0 / 0.7803 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.6137, allocations: 3.938 kB / 0.7803 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001206/0.6149, allocations: 0.8081 MB / 0.7811 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.6149, allocations: 3.938 kB / 0.7811 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002173/0.6152, allocations: 43.97 kB / 0.7811 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.6152, allocations: 0 / 0.7811 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.6152, allocations: 8 kB / 0.7812 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.6152, allocations: 7.938 kB / 0.7812 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.6152, allocations: 4 kB / 0.7812 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007432/0.616, allocations: 0.5071 MB / 0.7817 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/0.6161, allocations: 148.6 kB / 0.7818 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.821e-05/0.6162, allocations: 8 kB / 0.7818 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002548/0.6164, allocations: 12.61 kB / 0.7818 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.962e-05/0.6165, allocations: 15.98 kB / 0.7818 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.6165, allocations: 11.98 kB / 0.7819 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003219/0.6169, allocations: 299.1 kB / 0.7821 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.6169, allocations: 0 / 0.7821 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004341/0.6173, allocations: 127.8 kB / 0.7823 GB, free: 12.18 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.00138/0.6187, allocations: 1.126 MB / 0.7834 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005014/0.6192, allocations: 216.2 kB / 0.7836 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.6192, allocations: 0 / 0.7836 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002224/0.6195, allocations: 120.2 kB / 0.7837 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/0.6206, allocations: 232 kB / 0.7839 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004508/0.6251, allocations: 3.731 MB / 0.7875 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003713/0.6255, allocations: 0.8272 MB / 0.7884 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002802/0.6258, allocations: 91.27 kB / 0.7884 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001696/0.626, allocations: 139.4 kB / 0.7886 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.626, allocations: 4 kB / 0.7886 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5901/1.216, allocations: 12.03 MB / 0.8003 GB, free: 9.773 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.149/9.366, allocations: 15.3 kB / 0.8003 GB, free: 9.762 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)