Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.764/1.764, allocations: 288.4 MB / 303.3 MB, free: 8.137 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009834/0.0009833, allocations: 187.2 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.58/1.58, allocations: 205.4 MB / 0.6307 GB, free: 9.992 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008121/0.0008122, allocations: 96.94 kB / 0.744 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005443/0.0005444, allocations: 16 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.2292, allocations: 115.3 MB / 0.9796 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.6034/0.8326, allocations: 158 MB / 1.134 GB, free: 0.5898 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.003331/0.836, allocations: 2.162 MB / 1.136 GB, free: 15.93 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003804/0.8364, allocations: 11.81 kB / 1.136 GB, free: 15.92 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005541/0.837, allocations: 158.7 kB / 1.136 GB, free: 15.86 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001663/0.8387, allocations: 0.6584 MB / 1.137 GB, free: 15.56 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001852/0.8405, allocations: 0.6208 MB / 1.137 GB, free: 15.39 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001476/0.842, allocations: 1.147 MB / 1.139 GB, free: 15.19 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003985/0.8424, allocations: 258.1 kB / 1.139 GB, free: 15.14 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006735/0.8431, allocations: 408.4 kB / 1.139 GB, free: 15.04 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003514/0.8435, allocations: 308 kB / 1.139 GB, free: 14.96 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.106e-05/0.8435, allocations: 20.23 kB / 1.139 GB, free: 14.96 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00145/0.845, allocations: 0.5324 MB / 1.14 GB, free: 14.87 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001652/0.8452, allocations: 133.9 kB / 1.14 GB, free: 14.85 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.8453, allocations: 104.9 kB / 1.14 GB, free: 14.81 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0007784/0.8461, allocations: 0.5566 MB / 1.141 GB, free: 14.72 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.8461, allocations: 0 / 1.141 GB, free: 14.72 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.976e-06/0.8461, allocations: 4 kB / 1.141 GB, free: 14.72 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.8461, allocations: 3.938 kB / 1.141 GB, free: 14.71 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.001232/0.8474, allocations: 0.7352 MB / 1.141 GB, free: 14.17 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.8474, allocations: 7.969 kB / 1.142 GB, free: 14.17 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.842e-05/0.8475, allocations: 67.45 kB / 1.142 GB, free: 14.13 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001222/0.8487, allocations: 174 kB / 1.142 GB, free: 14.09 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006168/0.8494, allocations: 360.9 kB / 1.142 GB, free: 13.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.476e-05/0.8494, allocations: 25.14 kB / 1.142 GB, free: 13.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.544e-05/0.8495, allocations: 31.69 kB / 1.142 GB, free: 13.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006889/0.8502, allocations: 380.8 kB / 1.142 GB, free: 13.63 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.8502, allocations: 0 / 1.142 GB, free: 13.63 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.523e-05/0.8503, allocations: 13 kB / 1.143 GB, free: 13.63 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.457e-05/0.8503, allocations: 13.19 kB / 1.143 GB, free: 13.62 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005212/0.8508, allocations: 269 kB / 1.143 GB, free: 13.57 MB / 0.698 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.001955/0.8528, allocations: 1.676 MB / 1.144 GB, free: 12.21 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003722/0.8532, allocations: 209.2 kB / 1.145 GB, free: 12.16 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002277/0.8534, allocations: 120.8 kB / 1.145 GB, free: 12.14 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001123/0.8546, allocations: 0.8917 MB / 1.146 GB, free: 11.15 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.8546, allocations: 35.66 kB / 1.146 GB, free: 11.11 MB / 0.698 GB Notification: Performance of pre-optimization done (n=23): time 2.645e-06/0.8546, allocations: 0 / 1.146 GB, free: 11.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.0008846/0.8555, allocations: 381.6 kB / 1.146 GB, free: 11 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.8555, allocations: 56.59 kB / 1.146 GB, free: 10.94 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004447/0.856, allocations: 412.7 kB / 1.146 GB, free: 10.77 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.772e-05/0.856, allocations: 30.48 kB / 1.146 GB, free: 10.73 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.8562, allocations: 219.2 kB / 1.147 GB, free: 10.61 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.624e-05/0.8563, allocations: 80.72 kB / 1.147 GB, free: 10.55 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.291e-05/0.8563, allocations: 6.781 kB / 1.147 GB, free: 10.55 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.8565, allocations: 353.2 kB / 1.147 GB, free: 10.22 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002213/0.8567, allocations: 78.77 kB / 1.147 GB, free: 10.21 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002531/0.857, allocations: 132.7 kB / 1.147 GB, free: 10.16 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002461/0.8572, allocations: 97.41 kB / 1.147 GB, free: 10.14 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.8572, allocations: 0.9375 kB / 1.147 GB, free: 10.14 MB / 0.698 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006459/0.8579, allocations: 291.9 kB / 1.148 GB, free: 10.05 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/0.8579, allocations: 10.83 kB / 1.148 GB, free: 10.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.8579, allocations: 2.062 kB / 1.148 GB, free: 10.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.858, allocations: 2.594 kB / 1.148 GB, free: 10.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002664/0.8582, allocations: 53.45 kB / 1.148 GB, free: 10.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.936e-06/0.8583, allocations: 1.562 kB / 1.148 GB, free: 10.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003358/0.8586, allocations: 51.56 kB / 1.148 GB, free: 10.01 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.891e-05/0.8586, allocations: 11.03 kB / 1.148 GB, free: 10.01 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002012/0.8588, allocations: 161.9 kB / 1.148 GB, free: 9.887 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.767e-05/0.8589, allocations: 40.5 kB / 1.148 GB, free: 9.867 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005861/0.8595, allocations: 294.9 kB / 1.148 GB, free: 9.777 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.8595, allocations: 2.594 kB / 1.148 GB, free: 9.777 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.8596, allocations: 2.344 kB / 1.148 GB, free: 9.777 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.8596, allocations: 3.984 kB / 1.148 GB, free: 9.773 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00131/0.8609, allocations: 0.8269 MB / 1.149 GB, free: 9.262 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.8609, allocations: 2.625 kB / 1.149 GB, free: 9.262 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002535/0.8612, allocations: 48.39 kB / 1.149 GB, free: 9.254 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.131e-05/0.8612, allocations: 5.891 kB / 1.149 GB, free: 9.25 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-05/0.8612, allocations: 11.45 kB / 1.149 GB, free: 9.246 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.8612, allocations: 8.172 kB / 1.149 GB, free: 9.246 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.8612, allocations: 2.031 kB / 1.149 GB, free: 9.246 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008967/0.8621, allocations: 0.5202 MB / 1.15 GB, free: 8.98 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001782/0.8623, allocations: 145.5 kB / 1.15 GB, free: 8.852 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.439e-05/0.8624, allocations: 6.219 kB / 1.15 GB, free: 8.852 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002993/0.8627, allocations: 30.22 kB / 1.15 GB, free: 8.84 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.794e-05/0.8628, allocations: 20.75 kB / 1.15 GB, free: 8.832 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.042e-05/0.8628, allocations: 10.42 kB / 1.15 GB, free: 8.828 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003378/0.8631, allocations: 294.2 kB / 1.15 GB, free: 8.711 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8631, allocations: 5.531 kB / 1.15 GB, free: 8.707 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005261/0.8637, allocations: 119.3 kB / 1.15 GB, free: 8.691 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001433/0.8651, allocations: 1.149 MB / 1.151 GB, free: 7.859 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005521/0.8657, allocations: 217.9 kB / 1.152 GB, free: 7.82 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.8657, allocations: 1 kB / 1.152 GB, free: 7.82 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000233/0.8659, allocations: 116.2 kB / 1.152 GB, free: 7.797 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/0.8672, allocations: 222.9 kB / 1.152 GB, free: 7.723 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004178/0.8714, allocations: 2.535 MB / 1.154 GB, free: 6.422 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005063/0.8719, allocations: 0.8218 MB / 1.155 GB, free: 5.668 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000439/0.8724, allocations: 90.27 kB / 1.155 GB, free: 5.625 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000194/0.8726, allocations: 139 kB / 1.155 GB, free: 5.605 MB / 0.698 GB Notification: Performance of SimCode: time 1.382e-06/0.8726, allocations: 0 / 1.155 GB, free: 5.605 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02844/0.901, allocations: 11.43 MB / 1.167 GB, free: 132 kB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002533/0.9013, allocations: 234.6 kB / 1.167 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.415/3.316, allocations: 0 / 1.167 GB, free: 15.88 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_Orifice.fmu > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1)