Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.824/1.824, allocations: 289.7 MB / 302.3 MB, free: 2.133 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.001198/0.001199, allocations: 185.6 kB / 371.6 MB, free: 3.398 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.889/1.889, allocations: 205.1 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009836/0.0009836, allocations: 96.17 kB / 0.745 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.676e-05/3.705e-05, allocations: 0 / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3338, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.435/5.768, allocations: 2.066 GB / 3.046 GB, free: 176.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000191/5.769, allocations: 85.69 kB / 3.046 GB, free: 176.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.144/6.913, allocations: 354.7 MB / 3.392 GB, free: 190.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.753e-06/6.913, allocations: 0 / 3.392 GB, free: 190.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.12e-05/6.913, allocations: 17.42 kB / 3.392 GB, free: 190.8 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.001564/6.915, allocations: 0.7711 MB / 3.393 GB, free: 190.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/6.915, allocations: 9 kB / 3.393 GB, free: 190.1 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001418/6.915, allocations: 65 kB / 3.393 GB, free: 190 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001386/6.916, allocations: 173.6 kB / 3.393 GB, free: 190 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006934/6.917, allocations: 380.8 kB / 3.393 GB, free: 189.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/6.917, allocations: 23.69 kB / 3.393 GB, free: 189.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.129e-05/6.917, allocations: 32.17 kB / 3.393 GB, free: 189.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004987/6.918, allocations: 357.5 kB / 3.394 GB, free: 189.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/6.918, allocations: 6.141 kB / 3.394 GB, free: 189.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.831e-05/6.918, allocations: 15.91 kB / 3.394 GB, free: 189.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-06/6.918, allocations: 7.594 kB / 3.394 GB, free: 189.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003191/6.918, allocations: 217.6 kB / 3.394 GB, free: 189.3 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.001622/6.92, allocations: 1.775 MB / 3.396 GB, free: 187.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/6.92, allocations: 178.7 kB / 3.396 GB, free: 187.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/6.92, allocations: 101.4 kB / 3.396 GB, free: 187.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007587/6.921, allocations: 0.8626 MB / 3.397 GB, free: 186.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/6.921, allocations: 34.16 kB / 3.397 GB, free: 186.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=23): time 1.854e-06/6.921, allocations: 0 / 3.397 GB, free: 186.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=23): time 0.0005584/6.921, allocations: 238.4 kB / 3.397 GB, free: 186.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/6.921, allocations: 55.47 kB / 3.397 GB, free: 186.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003475/6.922, allocations: 363.7 kB / 3.397 GB, free: 186.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/6.922, allocations: 29.7 kB / 3.398 GB, free: 186 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/6.922, allocations: 215.4 kB / 3.398 GB, free: 185.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.827e-05/6.922, allocations: 86.36 kB / 3.398 GB, free: 185.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.025e-05/6.922, allocations: 4 kB / 3.398 GB, free: 185.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.154e-05/6.922, allocations: 357.7 kB / 3.398 GB, free: 185.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.977e-05/6.922, allocations: 65.45 kB / 3.398 GB, free: 185.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/6.922, allocations: 109.6 kB / 3.398 GB, free: 185.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/6.922, allocations: 77.11 kB / 3.398 GB, free: 185.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/6.922, allocations: 0 / 3.398 GB, free: 185.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003571/6.923, allocations: 254.2 kB / 3.399 GB, free: 185.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/6.923, allocations: 11.22 kB / 3.399 GB, free: 185.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/6.923, allocations: 0 / 3.399 GB, free: 185.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/6.923, allocations: 7.859 kB / 3.399 GB, free: 185.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002321/6.923, allocations: 53.17 kB / 3.399 GB, free: 185.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/6.923, allocations: 2.25 kB / 3.399 GB, free: 185.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002955/6.923, allocations: 50 kB / 3.399 GB, free: 185.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-05/6.923, allocations: 13.28 kB / 3.399 GB, free: 185.1 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 () * 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 6.974e-05/6.924, allocations: 120.2 kB / 3.399 GB, free: 185 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.396e-05/6.924, allocations: 40.38 kB / 3.399 GB, free: 185 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004032/6.924, allocations: 255.4 kB / 3.399 GB, free: 184.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/6.924, allocations: 7.734 kB / 3.399 GB, free: 184.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/6.924, allocations: 4.109 kB / 3.399 GB, free: 184.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/6.924, allocations: 7.922 kB / 3.399 GB, free: 184.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009253/6.925, allocations: 0.7622 MB / 3.4 GB, free: 184.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/6.925, allocations: 6.125 kB / 3.4 GB, free: 184.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002201/6.925, allocations: 49.3 kB / 3.4 GB, free: 184.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/6.925, allocations: 3.125 kB / 3.4 GB, free: 184.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/6.925, allocations: 7.203 kB / 3.4 GB, free: 184.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/6.925, allocations: 2.344 kB / 3.4 GB, free: 184.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/6.925, allocations: 7.484 kB / 3.4 GB, free: 184.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005178/6.926, allocations: 0.5254 MB / 3.401 GB, free: 183.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/6.926, allocations: 142.6 kB / 3.401 GB, free: 183.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.946e-05/6.926, allocations: 7.812 kB / 3.401 GB, free: 183.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003038/6.926, allocations: 33.48 kB / 3.401 GB, free: 183.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.512e-05/6.926, allocations: 18.48 kB / 3.401 GB, free: 183.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/6.926, allocations: 22.36 kB / 3.401 GB, free: 183.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002485/6.927, allocations: 289.5 kB / 3.401 GB, free: 183.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.51e-07/6.927, allocations: 0 / 3.401 GB, free: 183.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0008573/6.928, allocations: 222.5 kB / 3.401 GB, free: 183.3 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 () * 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.002396/6.93, allocations: 2.574 MB / 3.404 GB, free: 181.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003476/6.93, allocations: 171.2 kB / 3.404 GB, free: 181.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/6.93, allocations: 0 / 3.404 GB, free: 181.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001374/6.93, allocations: 100.3 kB / 3.404 GB, free: 181.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/6.932, allocations: 215.7 kB / 3.404 GB, free: 181 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/6.933, allocations: 0.8067 MB / 3.405 GB, free: 180.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/6.933, allocations: 0.8322 MB / 3.406 GB, free: 179.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003149/6.934, allocations: 80.09 kB / 3.406 GB, free: 179.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000176/6.934, allocations: 136 kB / 3.406 GB, free: 179.5 MB / 0.948 GB Notification: Performance of SimCode: time 6.51e-07/6.934, allocations: 0 / 3.406 GB, free: 179.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04847/6.982, allocations: 33.03 MB / 3.438 GB, free: 147.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001374/6.983, allocations: 186.7 kB / 3.438 GB, free: 146.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.061/10.04, allocations: 0 / 3.438 GB, free: 146.9 MB / 0.948 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_Orifice.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1)