Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.546/1.546, allocations: 252 MB / 267 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009388/0.0009388, allocations: 185.1 kB / 326.6 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.964/1.964, allocations: 205.4 MB / 0.5777 GB, free: 20.29 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009977/0.0009979, allocations: 92.64 kB / 0.6822 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003427/0.0003427, allocations: 9.656 kB / 0.7964 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2529, allocations: 106.3 MB / 0.9003 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1871/0.44, allocations: 158.1 MB / 1.055 GB, free: 1.273 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.5428/0.9829, allocations: 2.207 MB / 1.057 GB, free: 4.312 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005493/0.9835, allocations: 12.72 kB / 1.057 GB, free: 4.312 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006788/0.9842, allocations: 155.3 kB / 1.057 GB, free: 4.312 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.002052/0.9863, allocations: 0.6592 MB / 1.058 GB, free: 4.297 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002084/0.9884, allocations: 0.6293 MB / 1.058 GB, free: 4.277 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001621/0.99, allocations: 1.14 MB / 1.059 GB, free: 4.27 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005201/0.9905, allocations: 256.8 kB / 1.06 GB, free: 4.246 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000805/0.9913, allocations: 410.7 kB / 1.06 GB, free: 4.246 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004298/0.9918, allocations: 304.5 kB / 1.06 GB, free: 4.246 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.314e-05/0.9918, allocations: 19.06 kB / 1.06 GB, free: 4.246 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001598/0.9935, allocations: 0.5334 MB / 1.061 GB, free: 4.234 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001968/0.9937, allocations: 135.5 kB / 1.061 GB, free: 4.234 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004544/0.9941, allocations: 110 kB / 1.061 GB, free: 20.2 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0009875/0.9951, allocations: 0.5578 MB / 1.062 GB, free: 20.15 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.9951, allocations: 0 / 1.062 GB, free: 20.15 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.863e-06/0.9951, allocations: 2.094 kB / 1.062 GB, free: 20.15 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.9952, allocations: 0 / 1.062 GB, free: 20.15 MB / 0.7136 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.001277/0.9964, allocations: 0.7384 MB / 1.062 GB, free: 19.61 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.9965, allocations: 10.38 kB / 1.062 GB, free: 19.61 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.55e-05/0.9966, allocations: 64.23 kB / 1.062 GB, free: 19.57 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00124/0.9979, allocations: 176.4 kB / 1.063 GB, free: 19.55 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006437/0.9985, allocations: 368.1 kB / 1.063 GB, free: 19.31 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.79e-05/0.9986, allocations: 24.55 kB / 1.063 GB, free: 19.31 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.977e-05/0.9986, allocations: 30.16 kB / 1.063 GB, free: 19.31 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006994/0.9993, allocations: 376.3 kB / 1.063 GB, free: 19.21 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.9994, allocations: 3.656 kB / 1.063 GB, free: 19.21 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.488e-05/0.9994, allocations: 13.72 kB / 1.063 GB, free: 19.21 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.435e-05/0.9994, allocations: 13.7 kB / 1.063 GB, free: 19.21 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005195/1, allocations: 270 kB / 1.064 GB, free: 19.21 MB / 0.7136 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.001974/1.002, allocations: 1.67 MB / 1.065 GB, free: 18.07 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003785/1.002, allocations: 204.6 kB / 1.065 GB, free: 18.05 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002171/1.003, allocations: 121.6 kB / 1.066 GB, free: 18.04 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001164/1.004, allocations: 0.8853 MB / 1.066 GB, free: 17.09 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/1.004, allocations: 37.12 kB / 1.066 GB, free: 17.05 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=23): time 2.815e-06/1.004, allocations: 4 kB / 1.066 GB, free: 17.05 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23): time 0.0009485/1.005, allocations: 373 kB / 1.067 GB, free: 16.99 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/1.005, allocations: 59 kB / 1.067 GB, free: 16.93 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005041/1.005, allocations: 419.4 kB / 1.067 GB, free: 16.82 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.222e-05/1.005, allocations: 31.14 kB / 1.067 GB, free: 16.79 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001787/1.006, allocations: 205.6 kB / 1.068 GB, free: 16.68 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.925e-05/1.006, allocations: 87.17 kB / 1.068 GB, free: 16.63 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.238e-05/1.006, allocations: 7.438 kB / 1.068 GB, free: 16.63 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001709/1.006, allocations: 351.2 kB / 1.068 GB, free: 16.32 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002198/1.006, allocations: 87.55 kB / 1.068 GB, free: 16.31 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002486/1.006, allocations: 124.2 kB / 1.068 GB, free: 16.28 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002398/1.007, allocations: 99.22 kB / 1.068 GB, free: 16.28 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.007, allocations: 0 / 1.068 GB, free: 16.28 MB / 0.7136 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006305/1.007, allocations: 290.6 kB / 1.069 GB, free: 16.23 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/1.007, allocations: 6.312 kB / 1.069 GB, free: 16.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/1.007, allocations: 5.031 kB / 1.069 GB, free: 16.22 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/1.007, allocations: 6.797 kB / 1.069 GB, free: 16.22 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002659/1.008, allocations: 52.17 kB / 1.069 GB, free: 16.22 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/1.008, allocations: 2.438 kB / 1.069 GB, free: 16.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003099/1.008, allocations: 49.81 kB / 1.069 GB, free: 16.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.719e-05/1.008, allocations: 16.56 kB / 1.069 GB, free: 16.19 MB / 0.7136 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.0002348/1.008, allocations: 161.6 kB / 1.069 GB, free: 16.08 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.077e-05/1.008, allocations: 39.56 kB / 1.069 GB, free: 16.06 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007067/1.009, allocations: 297.6 kB / 1.069 GB, free: 16 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/1.009, allocations: 3.25 kB / 1.069 GB, free: 16 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/1.009, allocations: 1.469 kB / 1.069 GB, free: 16 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/1.009, allocations: 4.047 kB / 1.069 GB, free: 16 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001535/1.011, allocations: 0.8186 MB / 1.07 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/1.011, allocations: 5.5 kB / 1.07 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002513/1.011, allocations: 47.34 kB / 1.07 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/1.011, allocations: 7.375 kB / 1.07 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.489e-05/1.011, allocations: 11.53 kB / 1.07 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.463e-06/1.011, allocations: 6.406 kB / 1.07 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/1.011, allocations: 2.469 kB / 1.07 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009256/1.012, allocations: 0.5184 MB / 1.071 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002087/1.012, allocations: 144.2 kB / 1.071 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.129e-05/1.012, allocations: 11.94 kB / 1.071 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003018/1.012, allocations: 24.88 kB / 1.071 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.057e-05/1.012, allocations: 20.02 kB / 1.071 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.591e-05/1.013, allocations: 11.86 kB / 1.071 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004854/1.013, allocations: 297.3 kB / 1.071 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.61e-07/1.013, allocations: 2.906 kB / 1.071 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005522/1.014, allocations: 118.9 kB / 1.071 GB, free: 15.2 MB / 0.7136 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.00158/1.015, allocations: 1.142 MB / 1.072 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006508/1.016, allocations: 221.5 kB / 1.072 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/1.016, allocations: 0.6562 kB / 1.072 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002884/1.016, allocations: 126.4 kB / 1.073 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/1.017, allocations: 220.7 kB / 1.073 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004883/1.022, allocations: 2.543 MB / 1.075 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000572/1.023, allocations: 0.8239 MB / 1.076 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0005133/1.023, allocations: 89.25 kB / 1.076 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002095/1.024, allocations: 134.4 kB / 1.076 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of SimCode: time 1.373e-06/1.024, allocations: 4 kB / 1.076 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03056/1.054, allocations: 11.43 MB / 1.087 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001642/1.054, allocations: 240.5 kB / 1.088 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.299/3.354, allocations: 0 / 1.088 GB, free: 11.7 MB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_Orifice.fmu > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1)