Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 1.446/1.446, allocations: 287.4 MB / 302.6 MB, free: 8.258 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.0008788/0.0008787, allocations: 173.6 kB / 371.1 MB, free: 10.85 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.12/1.12, allocations: 205.4 MB / 0.6298 GB, free: 10.58 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.000741/0.000741, allocations: 95.69 kB / 0.7431 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003197/0.0003198, allocations: 11.31 kB / 0.8662 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1491, allocations: 115.3 MB / 0.9787 GB, free: 28.13 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.4425/0.5917, allocations: 158 MB / 1.133 GB, free: 284 kB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.002686/0.5944, allocations: 2.162 MB / 1.135 GB, free: 15.61 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000201/0.5946, allocations: 15.31 kB / 1.135 GB, free: 15.61 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004433/0.5951, allocations: 153.2 kB / 1.135 GB, free: 15.54 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001293/0.5964, allocations: 0.6568 MB / 1.136 GB, free: 15.25 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.5977, allocations: 0.6199 MB / 1.137 GB, free: 15.08 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0009305/0.5987, allocations: 1.159 MB / 1.138 GB, free: 14.87 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003131/0.599, allocations: 275.8 kB / 1.138 GB, free: 14.82 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004663/0.5995, allocations: 413 kB / 1.138 GB, free: 14.72 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002682/0.5997, allocations: 303.3 kB / 1.139 GB, free: 14.64 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.348e-05/0.5998, allocations: 24.31 kB / 1.139 GB, free: 14.63 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008982/0.6007, allocations: 0.5311 MB / 1.139 GB, free: 14.55 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.6008, allocations: 129 kB / 1.139 GB, free: 14.53 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.987e-05/0.6009, allocations: 110.1 kB / 1.139 GB, free: 14.48 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005316/0.6014, allocations: 0.5524 MB / 1.14 GB, free: 14.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.6014, allocations: 3.938 kB / 1.14 GB, free: 14.39 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6015, allocations: 0 / 1.14 GB, free: 14.39 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.6015, allocations: 0 / 1.14 GB, free: 14.39 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.0009704/0.6024, allocations: 0.7345 MB / 1.141 GB, free: 13.85 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.6025, allocations: 9.406 kB / 1.141 GB, free: 13.85 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.698e-05/0.6026, allocations: 69.16 kB / 1.141 GB, free: 13.81 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000951/0.6035, allocations: 184.9 kB / 1.141 GB, free: 13.77 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004237/0.6039, allocations: 372.3 kB / 1.141 GB, free: 13.51 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.604, allocations: 25.88 kB / 1.141 GB, free: 13.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.312e-05/0.604, allocations: 29.89 kB / 1.141 GB, free: 13.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004873/0.6045, allocations: 370 kB / 1.142 GB, free: 13.41 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.6045, allocations: 3.938 kB / 1.142 GB, free: 13.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.367e-05/0.6046, allocations: 14.12 kB / 1.142 GB, free: 13.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.937e-05/0.6046, allocations: 11.89 kB / 1.142 GB, free: 13.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004426/0.605, allocations: 269.8 kB / 1.142 GB, free: 13.39 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.001455/0.6065, allocations: 1.679 MB / 1.144 GB, free: 12.21 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003272/0.6068, allocations: 212.4 kB / 1.144 GB, free: 12.18 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001985/0.6071, allocations: 121 kB / 1.144 GB, free: 12.17 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008543/0.6079, allocations: 0.8918 MB / 1.145 GB, free: 11.22 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.608, allocations: 38.56 kB / 1.145 GB, free: 11.18 MB / 0.698 GB Notification: Performance of pre-optimization done (n=23): time 1.373e-06/0.608, allocations: 0 / 1.145 GB, free: 11.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.0007566/0.6087, allocations: 368.9 kB / 1.145 GB, free: 11.12 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.6088, allocations: 53.16 kB / 1.145 GB, free: 11.05 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003705/0.6091, allocations: 419 kB / 1.146 GB, free: 10.94 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.6092, allocations: 31.42 kB / 1.146 GB, free: 10.91 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.6093, allocations: 212.5 kB / 1.146 GB, free: 10.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.996e-05/0.6093, allocations: 80.19 kB / 1.146 GB, free: 10.75 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.848e-06/0.6094, allocations: 3.5 kB / 1.146 GB, free: 10.75 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.6095, allocations: 355.8 kB / 1.146 GB, free: 10.44 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.6096, allocations: 85.22 kB / 1.146 GB, free: 10.43 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/0.6098, allocations: 129.4 kB / 1.146 GB, free: 10.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003548/0.6102, allocations: 219.4 kB / 1.147 GB, free: 10.36 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.6102, allocations: 0 / 1.147 GB, free: 10.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004573/0.6107, allocations: 293.6 kB / 1.147 GB, free: 10.29 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.6107, allocations: 4.75 kB / 1.147 GB, free: 10.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.6107, allocations: 2.891 kB / 1.147 GB, free: 10.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.6107, allocations: 3.031 kB / 1.147 GB, free: 10.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/0.6109, allocations: 53.12 kB / 1.147 GB, free: 10.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.611, allocations: 1.844 kB / 1.147 GB, free: 10.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/0.6112, allocations: 51.92 kB / 1.147 GB, free: 10.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/0.6112, allocations: 11.19 kB / 1.147 GB, free: 10.26 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.0001318/0.6114, allocations: 165.2 kB / 1.147 GB, free: 10.14 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.203e-05/0.6114, allocations: 44.22 kB / 1.147 GB, free: 10.12 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005032/0.6119, allocations: 297.4 kB / 1.148 GB, free: 10.07 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.6119, allocations: 2.5 kB / 1.148 GB, free: 10.07 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.612, allocations: 1.562 kB / 1.148 GB, free: 10.07 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.612, allocations: 6.234 kB / 1.148 GB, free: 10.07 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.613, allocations: 0.8197 MB / 1.148 GB, free: 9.648 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.613, allocations: 6.188 kB / 1.148 GB, free: 9.645 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002125/0.6132, allocations: 50.56 kB / 1.148 GB, free: 9.633 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.6132, allocations: 3.625 kB / 1.148 GB, free: 9.633 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.6133, allocations: 7.531 kB / 1.148 GB, free: 9.633 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.6133, allocations: 3.812 kB / 1.148 GB, free: 9.633 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.6133, allocations: 6.578 kB / 1.148 GB, free: 9.629 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006953/0.614, allocations: 0.5202 MB / 1.149 GB, free: 9.363 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/0.6141, allocations: 147 kB / 1.149 GB, free: 9.234 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.318e-05/0.6142, allocations: 5.625 kB / 1.149 GB, free: 9.234 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002637/0.6145, allocations: 35.25 kB / 1.149 GB, free: 9.219 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.932e-05/0.6145, allocations: 23.59 kB / 1.149 GB, free: 9.207 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.6145, allocations: 6.531 kB / 1.149 GB, free: 9.207 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002664/0.6148, allocations: 301.5 kB / 1.149 GB, free: 9.082 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6148, allocations: 0 / 1.149 GB, free: 9.082 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003613/0.6152, allocations: 116.1 kB / 1.15 GB, free: 9.066 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.001105/0.6163, allocations: 1.132 MB / 1.151 GB, free: 8.25 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004127/0.6167, allocations: 220.2 kB / 1.151 GB, free: 8.207 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.6167, allocations: 0 / 1.151 GB, free: 8.207 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002/0.6169, allocations: 118 kB / 1.151 GB, free: 8.184 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.618, allocations: 222.2 kB / 1.151 GB, free: 8.109 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003263/0.6213, allocations: 2.542 MB / 1.154 GB, free: 6.801 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.6216, allocations: 0.8262 MB / 1.154 GB, free: 6.047 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002772/0.6219, allocations: 82.42 kB / 1.155 GB, free: 6.012 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001586/0.622, allocations: 137.3 kB / 1.155 GB, free: 5.992 MB / 0.698 GB Notification: Performance of SimCode: time 2.4e-07/0.622, allocations: 1.25 kB / 1.155 GB, free: 5.992 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.167/0.789, allocations: 11.44 MB / 1.166 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002001/0.7893, allocations: 226.1 kB / 1.166 GB, free: 260 kB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.274/3.063, allocations: 0 / 1.166 GB, free: 260 kB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_Orifice.fmu > Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1)