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.388/1.388, allocations: 288.4 MB / 303.6 MB, free: 8.039 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.0009682/0.0009682, allocations: 180.5 kB / 372.3 MB, free: 10.12 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.103/1.103, allocations: 205.4 MB / 0.631 GB, free: 9.898 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.0006938/0.0006937, allocations: 90.36 kB / 0.7444 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003215/0.0003215, allocations: 10.75 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.143, allocations: 115.3 MB / 0.9802 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.439/0.5821, allocations: 158 MB / 1.134 GB, free: 0.6055 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.002548/0.5846, allocations: 2.159 MB / 1.137 GB, free: 15.95 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002455/0.5849, allocations: 16 kB / 1.137 GB, free: 15.94 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004884/0.5854, allocations: 163.2 kB / 1.137 GB, free: 15.87 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001482/0.5869, allocations: 0.809 MB / 1.138 GB, free: 15.54 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001429/0.5883, allocations: 0.7159 MB / 1.138 GB, free: 15.34 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0008866/0.5892, allocations: 1.155 MB / 1.139 GB, free: 15.13 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003268/0.5896, allocations: 275.2 kB / 1.14 GB, free: 15.08 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004952/0.5901, allocations: 416.2 kB / 1.14 GB, free: 14.98 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000293/0.5904, allocations: 310.8 kB / 1.14 GB, free: 14.89 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.635e-05/0.5904, allocations: 19.16 kB / 1.14 GB, free: 14.89 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001424/0.5919, allocations: 1.139 MB / 1.141 GB, free: 14.64 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.592, allocations: 137.1 kB / 1.142 GB, free: 14.62 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000175/0.5922, allocations: 231.6 kB / 1.142 GB, free: 14.54 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006038/0.5928, allocations: 0.631 MB / 1.142 GB, free: 14.26 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.5928, allocations: 0 / 1.142 GB, free: 14.26 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5928, allocations: 0 / 1.142 GB, free: 14.26 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.5928, allocations: 1.406 kB / 1.142 GB, free: 14.26 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.0009514/0.5938, allocations: 0.7283 MB / 1.143 GB, free: 13.66 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.5938, allocations: 13.41 kB / 1.143 GB, free: 13.66 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.799e-05/0.5939, allocations: 66.91 kB / 1.143 GB, free: 13.61 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009776/0.5949, allocations: 184 kB / 1.143 GB, free: 13.54 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004191/0.5953, allocations: 371.5 kB / 1.144 GB, free: 13.23 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.5953, allocations: 27.73 kB / 1.144 GB, free: 13.22 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.916e-05/0.5954, allocations: 32.19 kB / 1.144 GB, free: 13.22 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005106/0.5959, allocations: 371.7 kB / 1.144 GB, free: 13.07 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.5959, allocations: 0 / 1.144 GB, free: 13.07 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/0.5959, allocations: 11.56 kB / 1.144 GB, free: 13.07 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.053e-05/0.596, allocations: 19.52 kB / 1.144 GB, free: 13.06 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004179/0.5964, allocations: 273.2 kB / 1.144 GB, free: 13.01 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.001531/0.5979, allocations: 1.672 MB / 1.146 GB, free: 11.64 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003349/0.5983, allocations: 211.6 kB / 1.146 GB, free: 11.59 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001859/0.5985, allocations: 124.1 kB / 1.146 GB, free: 11.57 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009163/0.5994, allocations: 0.8885 MB / 1.147 GB, free: 10.58 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.5994, allocations: 34 kB / 1.147 GB, free: 10.54 MB / 0.698 GB Notification: Performance of pre-optimization done (n=23): time 1.413e-06/0.5994, allocations: 1.75 kB / 1.147 GB, free: 10.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.0007729/0.6002, allocations: 371.2 kB / 1.148 GB, free: 10.44 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.6002, allocations: 53.69 kB / 1.148 GB, free: 10.38 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003821/0.6006, allocations: 416.6 kB / 1.148 GB, free: 10.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.6007, allocations: 35 kB / 1.148 GB, free: 10.17 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.6008, allocations: 211.4 kB / 1.148 GB, free: 10.05 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.108e-05/0.6008, allocations: 80.44 kB / 1.148 GB, free: 9.992 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.989e-06/0.6009, allocations: 7.594 kB / 1.148 GB, free: 9.988 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.601, allocations: 356.1 kB / 1.149 GB, free: 9.66 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/0.6012, allocations: 83.84 kB / 1.149 GB, free: 9.645 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/0.6014, allocations: 127.7 kB / 1.149 GB, free: 9.594 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000352/0.6017, allocations: 217.8 kB / 1.149 GB, free: 9.535 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.6017, allocations: 0 / 1.149 GB, free: 9.535 MB / 0.698 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004694/0.6022, allocations: 299.8 kB / 1.149 GB, free: 9.438 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.6022, allocations: 5.875 kB / 1.149 GB, free: 9.438 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.6022, allocations: 1.562 kB / 1.149 GB, free: 9.438 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.6023, allocations: 3.328 kB / 1.149 GB, free: 9.438 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.6025, allocations: 57.31 kB / 1.149 GB, free: 9.426 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.6025, allocations: 6.156 kB / 1.149 GB, free: 9.422 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000222/0.6027, allocations: 43.08 kB / 1.15 GB, free: 9.398 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.333e-05/0.6027, allocations: 10.47 kB / 1.15 GB, free: 9.398 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.0001339/0.6029, allocations: 155.1 kB / 1.15 GB, free: 9.281 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.471e-05/0.603, allocations: 52.7 kB / 1.15 GB, free: 9.25 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005124/0.6035, allocations: 295.1 kB / 1.15 GB, free: 9.164 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.6035, allocations: 2.688 kB / 1.15 GB, free: 9.164 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.6035, allocations: 0 / 1.15 GB, free: 9.164 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.6035, allocations: 15.86 kB / 1.15 GB, free: 9.148 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.6046, allocations: 0.8143 MB / 1.151 GB, free: 8.648 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.6046, allocations: 6.219 kB / 1.151 GB, free: 8.645 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002091/0.6048, allocations: 48.52 kB / 1.151 GB, free: 8.637 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.6048, allocations: 7.016 kB / 1.151 GB, free: 8.633 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.6049, allocations: 7.656 kB / 1.151 GB, free: 8.633 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.6049, allocations: 2.188 kB / 1.151 GB, free: 8.633 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.6049, allocations: 4.453 kB / 1.151 GB, free: 8.633 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006826/0.6056, allocations: 0.5186 MB / 1.151 GB, free: 8.371 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001531/0.6057, allocations: 141.7 kB / 1.152 GB, free: 8.242 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.724e-05/0.6058, allocations: 6.188 kB / 1.152 GB, free: 8.242 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002693/0.6061, allocations: 37.38 kB / 1.152 GB, free: 8.227 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.714e-05/0.6061, allocations: 12.11 kB / 1.152 GB, free: 8.223 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/0.6061, allocations: 18.78 kB / 1.152 GB, free: 8.215 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002696/0.6064, allocations: 297.9 kB / 1.152 GB, free: 8.094 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6064, allocations: 0 / 1.152 GB, free: 8.094 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003826/0.6068, allocations: 121.7 kB / 1.152 GB, free: 8.074 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.001164/0.608, allocations: 1.14 MB / 1.153 GB, free: 7.254 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004137/0.6084, allocations: 219.5 kB / 1.153 GB, free: 7.211 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.6084, allocations: 112 / 1.153 GB, free: 7.211 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002031/0.6086, allocations: 124.7 kB / 1.153 GB, free: 7.184 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/0.6097, allocations: 220.2 kB / 1.154 GB, free: 7.109 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003227/0.613, allocations: 2.538 MB / 1.156 GB, free: 5.805 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.6133, allocations: 0.8247 MB / 1.157 GB, free: 5.047 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002599/0.6136, allocations: 82.39 kB / 1.157 GB, free: 5.012 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.6137, allocations: 136.4 kB / 1.157 GB, free: 4.992 MB / 0.698 GB Notification: Performance of SimCode: time 3.91e-07/0.6137, allocations: 0.9062 kB / 1.157 GB, free: 4.992 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1667/0.7805, allocations: 11.56 MB / 1.168 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002009/0.7807, allocations: 221.5 kB / 1.169 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.165/2.945, allocations: 0 / 1.169 GB, free: 15.22 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)