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 2.491/2.491, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001643/0.001644, allocations: 176.9 kB / 361.4 MB, free: 6.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.552/2.552, allocations: 205.3 MB / 0.62 GB, free: 11.68 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.001275/0.001275, allocations: 99.52 kB / 0.733 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.375e-05/3.459e-05, allocations: 4 kB / 0.8518 GB, free: 2.691 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9823/0.9823, allocations: 115.3 MB / 0.9644 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.002/6.985, allocations: 2.064 GB / 3.029 GB, free: 50.89 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002148/6.985, allocations: 85.36 kB / 3.029 GB, free: 50.85 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.685/8.67, allocations: 350.4 MB / 3.371 GB, free: 89.82 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.004e-06/8.67, allocations: 8 kB / 3.371 GB, free: 89.82 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.132e-05/8.67, allocations: 11.98 kB / 3.371 GB, free: 89.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.001842/8.672, allocations: 0.7633 MB / 3.372 GB, free: 89 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/8.672, allocations: 8.031 kB / 3.372 GB, free: 88.99 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001528/8.674, allocations: 187.8 kB / 3.372 GB, free: 88.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008168/8.675, allocations: 376.3 kB / 3.372 GB, free: 88.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/8.675, allocations: 8 kB / 3.372 GB, free: 88.39 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.369e-05/8.675, allocations: 24 kB / 3.372 GB, free: 88.37 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003799/8.675, allocations: 193.5 kB / 3.372 GB, free: 88.18 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004617/8.676, allocations: 310.1 kB / 3.373 GB, free: 87.84 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/8.676, allocations: 0 / 3.373 GB, free: 87.84 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.975e-05/8.676, allocations: 4 kB / 3.373 GB, free: 87.84 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/8.676, allocations: 8 kB / 3.373 GB, free: 87.83 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.001999/8.678, allocations: 1.679 MB / 3.374 GB, free: 86.02 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002954/8.678, allocations: 162.5 kB / 3.374 GB, free: 85.86 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/8.678, allocations: 85.45 kB / 3.375 GB, free: 85.77 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008325/8.679, allocations: 0.8662 MB / 3.375 GB, free: 84.72 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/8.679, allocations: 30.97 kB / 3.375 GB, free: 84.68 MB / 0.948 GB Notification: Performance of pre-optimization done (n=23): time 2.685e-06/8.679, allocations: 4 kB / 3.375 GB, free: 84.68 MB / 0.948 GB Notification: Performance of matching and sorting (n=23): time 0.000852/8.68, allocations: 272.9 kB / 3.376 GB, free: 84.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.55e-05/8.68, allocations: 51.41 kB / 3.376 GB, free: 84.34 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002582/8.68, allocations: 258.4 kB / 3.376 GB, free: 84.08 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/8.68, allocations: 25.7 kB / 3.376 GB, free: 84.05 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/8.68, allocations: 220.6 kB / 3.376 GB, free: 83.83 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.273e-05/8.68, allocations: 78.77 kB / 3.376 GB, free: 83.75 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.064e-05/8.68, allocations: 4 kB / 3.376 GB, free: 83.75 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.29e-05/8.681, allocations: 342.8 kB / 3.377 GB, free: 83.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.778e-05/8.681, allocations: 64.33 kB / 3.377 GB, free: 83.34 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/8.681, allocations: 110.1 kB / 3.377 GB, free: 83.21 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003038/8.681, allocations: 117.5 kB / 3.377 GB, free: 83.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/8.681, allocations: 4 kB / 3.377 GB, free: 83.09 MB / 0.948 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005065/8.682, allocations: 266 kB / 3.377 GB, free: 82.83 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/8.682, allocations: 11.98 kB / 3.377 GB, free: 82.82 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/8.682, allocations: 0 / 3.377 GB, free: 82.82 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/8.682, allocations: 4 kB / 3.377 GB, free: 82.82 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000281/8.682, allocations: 47.92 kB / 3.377 GB, free: 82.77 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-05/8.682, allocations: 11.94 kB / 3.377 GB, free: 82.76 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003016/8.682, allocations: 27.86 kB / 3.377 GB, free: 82.73 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.617e-05/8.682, allocations: 16 kB / 3.377 GB, free: 82.71 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 9.56e-05/8.683, allocations: 104.9 kB / 3.377 GB, free: 82.61 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004869/8.683, allocations: 245.6 kB / 3.378 GB, free: 82.36 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.517e-05/8.683, allocations: 31.62 kB / 3.378 GB, free: 82.33 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005315/8.684, allocations: 286.1 kB / 3.378 GB, free: 82.05 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/8.684, allocations: 3.984 kB / 3.378 GB, free: 82.04 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/8.684, allocations: 0 / 3.378 GB, free: 82.04 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/8.684, allocations: 0 / 3.378 GB, free: 82.04 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00114/8.685, allocations: 0.7435 MB / 3.379 GB, free: 81.24 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/8.685, allocations: 0 / 3.379 GB, free: 81.24 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002234/8.685, allocations: 52.05 kB / 3.379 GB, free: 81.19 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/8.685, allocations: 0 / 3.379 GB, free: 81.19 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/8.685, allocations: 7.984 kB / 3.379 GB, free: 81.18 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/8.685, allocations: 4 kB / 3.379 GB, free: 81.18 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/8.685, allocations: 7.984 kB / 3.379 GB, free: 81.17 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006819/8.686, allocations: 0.5437 MB / 3.379 GB, free: 80.55 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001448/8.686, allocations: 132.7 kB / 3.379 GB, free: 80.41 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.053e-05/8.686, allocations: 4 kB / 3.379 GB, free: 80.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002999/8.686, allocations: 27.97 kB / 3.379 GB, free: 80.38 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.37e-05/8.686, allocations: 15.98 kB / 3.379 GB, free: 80.36 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/8.686, allocations: 8 kB / 3.379 GB, free: 80.35 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001691/8.687, allocations: 212.5 kB / 3.38 GB, free: 80.14 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.71e-07/8.687, allocations: 0 / 3.38 GB, free: 80.14 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007444/8.687, allocations: 199.7 kB / 3.38 GB, free: 79.95 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.002926/8.69, allocations: 2.756 MB / 3.383 GB, free: 77.11 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003217/8.691, allocations: 167.8 kB / 3.383 GB, free: 76.94 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/8.691, allocations: 3.938 kB / 3.383 GB, free: 76.94 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001237/8.691, allocations: 85.33 kB / 3.383 GB, free: 76.86 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008427/8.692, allocations: 139.2 kB / 3.383 GB, free: 76.72 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001863/8.694, allocations: 0.7805 MB / 3.384 GB, free: 75.89 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/8.694, allocations: 0.8382 MB / 3.384 GB, free: 75.02 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003602/8.694, allocations: 71.22 kB / 3.385 GB, free: 74.95 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/8.694, allocations: 123.4 kB / 3.385 GB, free: 74.82 MB / 0.948 GB Notification: Performance of SimCode: time 1.052e-06/8.694, allocations: 0 / 3.385 GB, free: 74.82 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04992/8.744, allocations: 17.84 MB / 3.402 GB, free: 57.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001637/8.745, allocations: 175.8 kB / 3.402 GB, free: 56.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.693/12.44, allocations: 4 kB / 3.402 GB, free: 56.9 MB / 0.948 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)