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.513/2.513, allocations: 284.9 MB / 292.4 MB, free: 10.56 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.001424/0.001424, allocations: 184.8 kB / 360.6 MB, free: 7.277 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.02/2.02, allocations: 205.2 MB / 0.6191 GB, free: 12.21 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.001077/0.001076, allocations: 86.38 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.657e-05/2.656e-05, allocations: 7.984 kB / 0.8509 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8127/0.8128, allocations: 115.2 MB / 0.9634 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.873/6.686, allocations: 2.064 GB / 3.027 GB, free: 54.68 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/6.686, allocations: 83.7 kB / 3.027 GB, free: 54.64 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.758/8.444, allocations: 350.4 MB / 3.37 GB, free: 94.21 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.493e-06/8.444, allocations: 0 / 3.37 GB, free: 94.21 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.077e-05/8.444, allocations: 12 kB / 3.37 GB, free: 94.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.001544/8.446, allocations: 0.7521 MB / 3.37 GB, free: 93.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/8.446, allocations: 15.97 kB / 3.37 GB, free: 93.38 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00173/8.447, allocations: 183.1 kB / 3.371 GB, free: 93.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008514/8.448, allocations: 376.2 kB / 3.371 GB, free: 92.79 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/8.448, allocations: 19.92 kB / 3.371 GB, free: 92.77 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.234e-05/8.448, allocations: 16 kB / 3.371 GB, free: 92.76 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005068/8.449, allocations: 193.5 kB / 3.371 GB, free: 92.57 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005965/8.449, allocations: 314.1 kB / 3.371 GB, free: 92.23 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/8.449, allocations: 0 / 3.371 GB, free: 92.23 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.78e-05/8.45, allocations: 3.953 kB / 3.371 GB, free: 92.23 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/8.45, allocations: 8 kB / 3.371 GB, free: 92.22 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.002284/8.452, allocations: 1.679 MB / 3.373 GB, free: 90.41 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003577/8.452, allocations: 154.6 kB / 3.373 GB, free: 90.25 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001803/8.452, allocations: 85.45 kB / 3.373 GB, free: 90.17 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001066/8.454, allocations: 0.8662 MB / 3.374 GB, free: 89.12 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/8.454, allocations: 46.91 kB / 3.374 GB, free: 89.06 MB / 0.948 GB Notification: Performance of pre-optimization done (n=23): time 2.766e-06/8.454, allocations: 0 / 3.374 GB, free: 89.06 MB / 0.948 GB Notification: Performance of matching and sorting (n=23): time 0.001131/8.455, allocations: 266.7 kB / 3.374 GB, free: 88.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.089e-05/8.455, allocations: 55.41 kB / 3.375 GB, free: 88.73 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003387/8.455, allocations: 258.4 kB / 3.375 GB, free: 88.47 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/8.455, allocations: 29.7 kB / 3.375 GB, free: 88.43 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000132/8.455, allocations: 212.6 kB / 3.375 GB, free: 88.22 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.413e-05/8.455, allocations: 82.75 kB / 3.375 GB, free: 88.14 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.439e-05/8.455, allocations: 0 / 3.375 GB, free: 88.14 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.837e-05/8.455, allocations: 342.8 kB / 3.375 GB, free: 87.79 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/8.456, allocations: 56.45 kB / 3.375 GB, free: 87.74 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/8.456, allocations: 106 kB / 3.376 GB, free: 87.61 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004688/8.456, allocations: 120.8 kB / 3.376 GB, free: 87.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/8.456, allocations: 0 / 3.376 GB, free: 87.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007565/8.457, allocations: 268.6 kB / 3.376 GB, free: 87.23 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/8.457, allocations: 9.031 kB / 3.376 GB, free: 87.22 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/8.457, allocations: 8 kB / 3.376 GB, free: 87.21 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/8.457, allocations: 4.062 kB / 3.376 GB, free: 87.21 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004218/8.458, allocations: 63.84 kB / 3.376 GB, free: 87.15 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/8.458, allocations: 4.031 kB / 3.376 GB, free: 87.14 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004092/8.458, allocations: 27.83 kB / 3.376 GB, free: 87.12 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-05/8.458, allocations: 8 kB / 3.376 GB, free: 87.11 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 8.609e-05/8.458, allocations: 112.7 kB / 3.376 GB, free: 86.99 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007041/8.459, allocations: 248.9 kB / 3.376 GB, free: 86.74 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.174e-05/8.459, allocations: 39.58 kB / 3.376 GB, free: 86.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008543/8.46, allocations: 270.2 kB / 3.377 GB, free: 86.44 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/8.46, allocations: 4 kB / 3.377 GB, free: 86.43 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/8.46, allocations: 0 / 3.377 GB, free: 86.43 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/8.46, allocations: 0 / 3.377 GB, free: 86.43 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001625/8.462, allocations: 0.7464 MB / 3.377 GB, free: 85.62 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/8.462, allocations: 4 kB / 3.377 GB, free: 85.62 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000411/8.462, allocations: 43.97 kB / 3.377 GB, free: 85.58 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.246e-06/8.462, allocations: 7.938 kB / 3.377 GB, free: 85.57 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/8.462, allocations: 4 kB / 3.377 GB, free: 85.57 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/8.462, allocations: 0 / 3.377 GB, free: 85.57 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/8.462, allocations: 8.188 kB / 3.378 GB, free: 85.56 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009901/8.463, allocations: 0.5389 MB / 3.378 GB, free: 84.95 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001839/8.463, allocations: 132.7 kB / 3.378 GB, free: 84.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.557e-05/8.463, allocations: 4 kB / 3.378 GB, free: 84.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004815/8.464, allocations: 27.97 kB / 3.378 GB, free: 84.77 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.294e-05/8.464, allocations: 11.98 kB / 3.378 GB, free: 84.76 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.83e-05/8.464, allocations: 19.94 kB / 3.378 GB, free: 84.74 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000248/8.464, allocations: 204.6 kB / 3.378 GB, free: 84.54 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.71e-07/8.464, allocations: 0 / 3.378 GB, free: 84.54 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0008932/8.465, allocations: 199.6 kB / 3.379 GB, free: 84.34 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.003404/8.469, allocations: 2.761 MB / 3.381 GB, free: 81.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0005345/8.469, allocations: 157.8 kB / 3.381 GB, free: 81.34 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/8.469, allocations: 0 / 3.381 GB, free: 81.34 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000201/8.469, allocations: 91.86 kB / 3.382 GB, free: 81.25 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001343/8.471, allocations: 155.3 kB / 3.382 GB, free: 81.11 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00226/8.473, allocations: 0.7684 MB / 3.382 GB, free: 80.29 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/8.473, allocations: 0.8388 MB / 3.383 GB, free: 79.42 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004595/8.474, allocations: 67.23 kB / 3.383 GB, free: 79.35 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002402/8.474, allocations: 131.4 kB / 3.383 GB, free: 79.22 MB / 0.948 GB Notification: Performance of SimCode: time 1.393e-06/8.474, allocations: 0 / 3.383 GB, free: 79.22 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07249/8.547, allocations: 17.82 MB / 3.401 GB, free: 61.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002533/8.547, allocations: 163.8 kB / 3.401 GB, free: 61.31 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.355/11.9, allocations: 0 / 3.401 GB, free: 61.31 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)