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 2.67/2.67, allocations: 287.3 MB / 302.3 MB, free: 8.238 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.001688/0.001688, allocations: 174.8 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.183/2.183, allocations: 205.4 MB / 0.6295 GB, free: 10.64 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.001197/0.001197, allocations: 83.94 kB / 0.7428 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005267/0.0005266, allocations: 12.41 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.233, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.648/6.881, allocations: 2.065 GB / 3.043 GB, free: 209.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/6.882, allocations: 95.06 kB / 3.043 GB, free: 209.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.784/8.666, allocations: 355 MB / 3.39 GB, free: 240.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.214e-06/8.666, allocations: 0 / 3.39 GB, free: 240.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.47e-05/8.666, allocations: 8 kB / 3.39 GB, free: 240.2 MB / 0.948 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.002263/8.668, allocations: 0.8508 MB / 3.391 GB, free: 239.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/8.668, allocations: 12.02 kB / 3.391 GB, free: 239.2 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001561/8.669, allocations: 62.55 kB / 3.391 GB, free: 239.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001898/8.67, allocations: 171.2 kB / 3.391 GB, free: 239 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/8.672, allocations: 386.5 kB / 3.391 GB, free: 238.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/8.672, allocations: 24.66 kB / 3.391 GB, free: 238.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.538e-05/8.672, allocations: 35.95 kB / 3.391 GB, free: 238.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000932/8.673, allocations: 377.2 kB / 3.392 GB, free: 238.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.467e-05/8.673, allocations: 3.938 kB / 3.392 GB, free: 238.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.774e-05/8.673, allocations: 19.98 kB / 3.392 GB, free: 238.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/8.673, allocations: 11.94 kB / 3.392 GB, free: 238.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007835/8.674, allocations: 254 kB / 3.392 GB, free: 237.9 MB / 0.948 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.002631/8.676, allocations: 1.767 MB / 3.394 GB, free: 236 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005605/8.677, allocations: 199.3 kB / 3.394 GB, free: 235.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001132/8.678, allocations: 0.8662 MB / 3.395 GB, free: 234.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/8.678, allocations: 30.56 kB / 3.395 GB, free: 234.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=23): time 3.908e-06/8.678, allocations: 4 kB / 3.395 GB, free: 234.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=23): time 0.001454/8.679, allocations: 361.1 kB / 3.395 GB, free: 234.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/8.68, allocations: 59.27 kB / 3.395 GB, free: 234.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005775/8.68, allocations: 365.1 kB / 3.395 GB, free: 233.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.305e-05/8.68, allocations: 33.64 kB / 3.395 GB, free: 233.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/8.68, allocations: 224.6 kB / 3.396 GB, free: 233.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.425e-05/8.68, allocations: 78.83 kB / 3.396 GB, free: 233.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.986e-05/8.68, allocations: 4 kB / 3.396 GB, free: 233.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000134/8.681, allocations: 354.8 kB / 3.396 GB, free: 233.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002994/8.681, allocations: 80.42 kB / 3.396 GB, free: 233.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003389/8.681, allocations: 138.2 kB / 3.396 GB, free: 232.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003204/8.682, allocations: 95.45 kB / 3.396 GB, free: 232.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/8.682, allocations: 0 / 3.396 GB, free: 232.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008572/8.682, allocations: 303.1 kB / 3.397 GB, free: 232.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/8.683, allocations: 4 kB / 3.397 GB, free: 232.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/8.683, allocations: 0 / 3.397 GB, free: 232.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.548e-05/8.683, allocations: 4 kB / 3.397 GB, free: 232.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004352/8.683, allocations: 52 kB / 3.397 GB, free: 232.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/8.683, allocations: 7.938 kB / 3.397 GB, free: 232.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005255/8.684, allocations: 43.58 kB / 3.397 GB, free: 232.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.866e-05/8.684, allocations: 8 kB / 3.397 GB, free: 232.4 MB / 0.948 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.0002694/8.684, allocations: 169.8 kB / 3.397 GB, free: 232.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.518e-05/8.684, allocations: 39.53 kB / 3.397 GB, free: 232.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008946/8.685, allocations: 281.5 kB / 3.397 GB, free: 231.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/8.685, allocations: 4 kB / 3.397 GB, free: 231.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/8.685, allocations: 0 / 3.397 GB, free: 231.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/8.685, allocations: 7.984 kB / 3.397 GB, free: 231.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001741/8.687, allocations: 0.8097 MB / 3.398 GB, free: 231 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/8.687, allocations: 4 kB / 3.398 GB, free: 231 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004254/8.687, allocations: 47.91 kB / 3.398 GB, free: 231 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.577e-06/8.687, allocations: 4 kB / 3.398 GB, free: 231 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.983e-05/8.687, allocations: 8 kB / 3.398 GB, free: 231 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/8.687, allocations: 4.188 kB / 3.398 GB, free: 231 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/8.687, allocations: 4 kB / 3.398 GB, free: 231 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001237/8.689, allocations: 0.5763 MB / 3.399 GB, free: 230.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002692/8.689, allocations: 144.5 kB / 3.399 GB, free: 230.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.955e-05/8.689, allocations: 11.94 kB / 3.399 GB, free: 230.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005121/8.689, allocations: 35.97 kB / 3.399 GB, free: 230.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.614e-05/8.69, allocations: 15.94 kB / 3.399 GB, free: 230.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.736e-05/8.69, allocations: 12 kB / 3.399 GB, free: 230.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000449/8.69, allocations: 299.1 kB / 3.399 GB, free: 229.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.01e-07/8.69, allocations: 0 / 3.399 GB, free: 229.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001077/8.691, allocations: 227.8 kB / 3.399 GB, free: 229.6 MB / 0.948 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.003483/8.695, allocations: 2.632 MB / 3.402 GB, free: 226.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008456/8.696, allocations: 215.8 kB / 3.402 GB, free: 226.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/8.696, allocations: 0 / 3.402 GB, free: 226.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003477/8.696, allocations: 118.6 kB / 3.402 GB, free: 226.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001849/8.698, allocations: 213.2 kB / 3.402 GB, free: 226.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005368/8.703, allocations: 2.978 MB / 3.405 GB, free: 223.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/8.704, allocations: 0.8353 MB / 3.406 GB, free: 222.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.000552/8.704, allocations: 75.36 kB / 3.406 GB, free: 222.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002532/8.704, allocations: 135.4 kB / 3.406 GB, free: 222.2 MB / 0.948 GB Notification: Performance of SimCode: time 9.91e-07/8.704, allocations: 0 / 3.406 GB, free: 222.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09549/8.8, allocations: 29.81 MB / 3.436 GB, free: 192.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002753/8.8, allocations: 222.9 kB / 3.436 GB, free: 192.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.992/12.79, allocations: 0 / 3.436 GB, free: 192.3 MB / 0.948 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)