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.778/1.778, allocations: 289.9 MB / 297.4 MB, free: 6.34 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.001479/0.001479, allocations: 180.8 kB / 366.7 MB, free: 1.652 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.01/2.01, allocations: 205.2 MB / 0.626 GB, free: 7.18 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.0009778/0.0009778, allocations: 99.05 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.962e-05/2.978e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8143/0.8144, allocations: 116.3 MB / 0.9733 GB, free: 76.09 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.824/5.639, allocations: 2.065 GB / 3.038 GB, free: 64.69 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/5.639, allocations: 87.95 kB / 3.038 GB, free: 64.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.135/6.774, allocations: 350.4 MB / 3.381 GB, free: 94.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.623e-06/6.775, allocations: 192 / 3.381 GB, free: 94.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.483e-05/6.775, allocations: 15.92 kB / 3.381 GB, free: 94.78 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.001348/6.776, allocations: 0.7593 MB / 3.381 GB, free: 93.98 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/6.776, allocations: 12.03 kB / 3.381 GB, free: 93.96 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00134/6.777, allocations: 179.8 kB / 3.382 GB, free: 93.79 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006126/6.778, allocations: 384.2 kB / 3.382 GB, free: 93.37 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/6.778, allocations: 12 kB / 3.382 GB, free: 93.36 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.222e-05/6.778, allocations: 16 kB / 3.382 GB, free: 93.34 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003338/6.778, allocations: 197.5 kB / 3.382 GB, free: 93.15 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000395/6.779, allocations: 306.1 kB / 3.383 GB, free: 92.82 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/6.779, allocations: 3.938 kB / 3.383 GB, free: 92.82 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.997e-05/6.779, allocations: 3.938 kB / 3.383 GB, free: 92.82 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-06/6.779, allocations: 8 kB / 3.383 GB, free: 92.81 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.001659/6.781, allocations: 1.679 MB / 3.384 GB, free: 91 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002412/6.781, allocations: 158.6 kB / 3.384 GB, free: 90.84 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/6.781, allocations: 81.45 kB / 3.384 GB, free: 90.76 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007256/6.782, allocations: 0.874 MB / 3.385 GB, free: 89.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/6.782, allocations: 38.97 kB / 3.385 GB, free: 89.65 MB / 0.948 GB Notification: Performance of pre-optimization done (n=23): time 2.324e-06/6.782, allocations: 3.984 kB / 3.385 GB, free: 89.65 MB / 0.948 GB Notification: Performance of matching and sorting (n=23): time 0.0007397/6.782, allocations: 268.8 kB / 3.386 GB, free: 89.38 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.632e-05/6.782, allocations: 55.41 kB / 3.386 GB, free: 89.31 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/6.783, allocations: 258.4 kB / 3.386 GB, free: 89.05 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/6.783, allocations: 29.7 kB / 3.386 GB, free: 89.02 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 9.007e-05/6.783, allocations: 212.6 kB / 3.386 GB, free: 88.81 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.367e-05/6.783, allocations: 86.75 kB / 3.386 GB, free: 88.72 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.027e-05/6.783, allocations: 4 kB / 3.386 GB, free: 88.72 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.759e-05/6.783, allocations: 342.7 kB / 3.386 GB, free: 88.38 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.46e-05/6.783, allocations: 56.47 kB / 3.387 GB, free: 88.32 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/6.783, allocations: 107.7 kB / 3.387 GB, free: 88.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002834/6.783, allocations: 120.8 kB / 3.387 GB, free: 88.08 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/6.783, allocations: 0 / 3.387 GB, free: 88.08 MB / 0.948 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004398/6.784, allocations: 270.9 kB / 3.387 GB, free: 87.81 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/6.784, allocations: 4 kB / 3.387 GB, free: 87.81 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/6.784, allocations: 3.938 kB / 3.387 GB, free: 87.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/6.784, allocations: 4 kB / 3.387 GB, free: 87.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002307/6.784, allocations: 51.97 kB / 3.387 GB, free: 87.75 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/6.784, allocations: 3.953 kB / 3.387 GB, free: 87.75 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002486/6.784, allocations: 31.86 kB / 3.387 GB, free: 87.71 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.776e-05/6.784, allocations: 15.98 kB / 3.387 GB, free: 87.7 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.796e-05/6.785, allocations: 105 kB / 3.387 GB, free: 87.59 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000422/6.785, allocations: 249.9 kB / 3.387 GB, free: 87.34 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.046e-05/6.785, allocations: 31.62 kB / 3.387 GB, free: 87.31 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004986/6.786, allocations: 273.9 kB / 3.388 GB, free: 87.03 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/6.786, allocations: 7.953 kB / 3.388 GB, free: 87.02 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.371e-06/6.786, allocations: 0 / 3.388 GB, free: 87.02 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/6.786, allocations: 0 / 3.388 GB, free: 87.02 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009882/6.787, allocations: 0.7464 MB / 3.388 GB, free: 86.21 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/6.787, allocations: 4 kB / 3.388 GB, free: 86.21 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002339/6.787, allocations: 43.97 kB / 3.389 GB, free: 86.17 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/6.787, allocations: 4 kB / 3.389 GB, free: 86.16 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/6.787, allocations: 8 kB / 3.389 GB, free: 86.16 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/6.787, allocations: 3.938 kB / 3.389 GB, free: 86.15 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/6.787, allocations: 4 kB / 3.389 GB, free: 86.15 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006649/6.788, allocations: 0.5425 MB / 3.389 GB, free: 85.54 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/6.788, allocations: 128.7 kB / 3.389 GB, free: 85.39 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.876e-05/6.788, allocations: 0 / 3.389 GB, free: 85.39 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002924/6.788, allocations: 27.97 kB / 3.389 GB, free: 85.36 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.384e-05/6.788, allocations: 23.91 kB / 3.389 GB, free: 85.34 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/6.788, allocations: 8 kB / 3.389 GB, free: 85.33 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001507/6.788, allocations: 204.6 kB / 3.389 GB, free: 85.13 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.71e-07/6.788, allocations: 0 / 3.389 GB, free: 85.13 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0006613/6.789, allocations: 199.6 kB / 3.39 GB, free: 84.94 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.002349/6.791, allocations: 2.758 MB / 3.392 GB, free: 82.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002605/6.792, allocations: 163.8 kB / 3.393 GB, free: 81.94 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/6.792, allocations: 4 kB / 3.393 GB, free: 81.93 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001082/6.792, allocations: 89.73 kB / 3.393 GB, free: 81.85 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007926/6.793, allocations: 143.9 kB / 3.393 GB, free: 81.71 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/6.794, allocations: 0.7736 MB / 3.393 GB, free: 80.88 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002211/6.794, allocations: 0.8421 MB / 3.394 GB, free: 80.01 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002718/6.794, allocations: 63.23 kB / 3.394 GB, free: 79.95 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/6.795, allocations: 123.4 kB / 3.394 GB, free: 79.83 MB / 0.948 GB Notification: Performance of SimCode: time 4.51e-07/6.795, allocations: 4 kB / 3.394 GB, free: 79.83 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03594/6.831, allocations: 17.83 MB / 3.412 GB, free: 62.11 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001377/6.831, allocations: 163.6 kB / 3.412 GB, free: 61.91 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.561/9.392, allocations: 3.5 kB / 3.412 GB, free: 61.91 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)