Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.212/1.212, allocations: 251.5 MB / 266.7 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008845/0.0008845, allocations: 180.7 kB / 325.8 MB, free: 2.695 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.25/1.25, allocations: 205 MB / 0.576 GB, free: 20.94 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006812/0.0006812, allocations: 93.64 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002604/0.0002605, allocations: 9.438 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1347, allocations: 105.4 MB / 0.8962 GB, free: 68.08 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.435/0.5697, allocations: 171.3 MB / 1.064 GB, free: 1.844 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002809/0.5725, allocations: 2.363 MB / 1.066 GB, free: 1.801 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002222/0.5728, allocations: 12.06 kB / 1.066 GB, free: 1.801 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005099/0.5733, allocations: 184.9 kB / 1.066 GB, free: 1.793 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001446/0.5747, allocations: 0.8578 MB / 1.067 GB, free: 1.75 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001522/0.5763, allocations: 0.7771 MB / 1.068 GB, free: 1.719 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001278/0.5776, allocations: 1.346 MB / 1.069 GB, free: 1.711 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003745/0.578, allocations: 275.6 kB / 1.069 GB, free: 1.684 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005754/0.5785, allocations: 410.9 kB / 1.07 GB, free: 1.684 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003517/0.5789, allocations: 320.8 kB / 1.07 GB, free: 1.68 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.295e-05/0.579, allocations: 21.02 kB / 1.07 GB, free: 1.68 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001744/0.5807, allocations: 1.163 MB / 1.071 GB, free: 1.672 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001491/0.5809, allocations: 132.6 kB / 1.071 GB, free: 1.672 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002351/0.5811, allocations: 223 kB / 1.071 GB, free: 1.672 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001186/0.5823, allocations: 0.9547 MB / 1.072 GB, free: 1.617 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.5823, allocations: 0 / 1.072 GB, free: 1.617 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.293e-06/0.5823, allocations: 0 / 1.072 GB, free: 1.617 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.5823, allocations: 4.844 kB / 1.072 GB, free: 1.613 MB / 0.698 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.001041/0.5834, allocations: 0.728 MB / 1.073 GB, free: 17.08 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.5834, allocations: 8.844 kB / 1.073 GB, free: 17.08 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.908e-05/0.5835, allocations: 67.25 kB / 1.073 GB, free: 17.04 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001126/0.5846, allocations: 182.3 kB / 1.073 GB, free: 17.01 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004483/0.5851, allocations: 374 kB / 1.074 GB, free: 16.76 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.5851, allocations: 24.41 kB / 1.074 GB, free: 16.76 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.734e-05/0.5852, allocations: 31.84 kB / 1.074 GB, free: 16.76 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005694/0.5858, allocations: 379.9 kB / 1.074 GB, free: 16.66 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.5858, allocations: 0.875 kB / 1.074 GB, free: 16.66 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.66e-05/0.5858, allocations: 10.28 kB / 1.074 GB, free: 16.66 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.329e-05/0.5858, allocations: 20.5 kB / 1.074 GB, free: 16.65 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004883/0.5863, allocations: 268.1 kB / 1.074 GB, free: 16.65 MB / 0.7136 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.00153/0.5879, allocations: 1.682 MB / 1.076 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003515/0.5882, allocations: 210.1 kB / 1.076 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002042/0.5884, allocations: 117.4 kB / 1.076 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000894/0.5894, allocations: 0.8874 MB / 1.077 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.5894, allocations: 32.69 kB / 1.077 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=23): time 1.282e-06/0.5894, allocations: 3.938 kB / 1.077 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23): time 0.0008161/0.5902, allocations: 377 kB / 1.078 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.5903, allocations: 56.23 kB / 1.078 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004024/0.5907, allocations: 420.5 kB / 1.078 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.5907, allocations: 30.64 kB / 1.078 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.5908, allocations: 214 kB / 1.078 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.228e-05/0.5909, allocations: 77.45 kB / 1.078 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/0.5909, allocations: 26.89 kB / 1.078 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.591, allocations: 356.7 kB / 1.079 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.5912, allocations: 88.66 kB / 1.079 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001842/0.5914, allocations: 125.2 kB / 1.079 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003606/0.5917, allocations: 223.3 kB / 1.079 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5918, allocations: 4.031 kB / 1.079 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004555/0.5922, allocations: 290.5 kB / 1.079 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.5922, allocations: 5.375 kB / 1.079 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.5922, allocations: 1.406 kB / 1.079 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.5923, allocations: 3.094 kB / 1.079 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002111/0.5925, allocations: 55.52 kB / 1.079 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.5925, allocations: 6.375 kB / 1.079 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002278/0.5927, allocations: 44.69 kB / 1.079 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.359e-05/0.5928, allocations: 11.84 kB / 1.08 GB, free: 13.57 MB / 0.7136 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.0001392/0.5929, allocations: 165.5 kB / 1.08 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.237e-05/0.593, allocations: 44.72 kB / 1.08 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005081/0.5935, allocations: 300.7 kB / 1.08 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.5935, allocations: 2.188 kB / 1.08 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.5935, allocations: 9.188 kB / 1.08 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.5935, allocations: 0 / 1.08 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.5945, allocations: 0.8206 MB / 1.081 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.5945, allocations: 1.094 kB / 1.081 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002/0.5948, allocations: 46.97 kB / 1.081 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.5948, allocations: 2.688 kB / 1.081 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.5948, allocations: 7.406 kB / 1.081 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.5948, allocations: 3.969 kB / 1.081 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.5948, allocations: 9.328 kB / 1.081 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006493/0.5955, allocations: 0.5277 MB / 1.081 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/0.5956, allocations: 141 kB / 1.082 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.346e-05/0.5957, allocations: 11.3 kB / 1.082 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002689/0.5959, allocations: 27.03 kB / 1.082 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.762e-05/0.596, allocations: 21.41 kB / 1.082 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.596, allocations: 15.7 kB / 1.082 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002487/0.5963, allocations: 300.2 kB / 1.082 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5963, allocations: 5.25 kB / 1.082 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003843/0.5967, allocations: 121.2 kB / 1.082 GB, free: 12.56 MB / 0.7136 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.00108/0.5978, allocations: 1.129 MB / 1.083 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003952/0.5982, allocations: 220.7 kB / 1.083 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.5982, allocations: 3 kB / 1.083 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001779/0.5984, allocations: 116.6 kB / 1.083 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.5994, allocations: 228.4 kB / 1.084 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004032/0.6034, allocations: 3.863 MB / 1.087 GB, free: 9.855 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.6037, allocations: 0.8245 MB / 1.088 GB, free: 9.152 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002608/0.604, allocations: 85.19 kB / 1.088 GB, free: 9.133 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.6041, allocations: 132.9 kB / 1.088 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of SimCode: time 2.2e-07/0.6042, allocations: 1.25 kB / 1.088 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1532/0.7574, allocations: 11.39 MB / 1.1 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001431/0.7575, allocations: 253.2 kB / 1.1 GB, free: 8.117 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.053/2.811, allocations: 4 kB / 1.1 GB, free: 8.113 MB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_Orifice.fmu > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1)