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.504/1.504, allocations: 252 MB / 267.3 MB, free: 10.81 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.001062/0.001062, allocations: 167.4 kB / 327 MB, free: 2.09 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.533/1.533, allocations: 205.4 MB / 0.578 GB, free: 20.07 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.0007541/0.0007541, allocations: 84.25 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002996/0.0002996, allocations: 9 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1888, allocations: 106.3 MB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.5611/0.75, allocations: 169.4 MB / 1.066 GB, free: 1.945 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003426/0.7534, allocations: 2.333 MB / 1.069 GB, free: 1.895 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003179/0.7538, allocations: 15.88 kB / 1.069 GB, free: 1.891 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006231/0.7544, allocations: 190.1 kB / 1.069 GB, free: 1.887 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001905/0.7563, allocations: 0.859 MB / 1.07 GB, free: 1.84 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001992/0.7583, allocations: 0.778 MB / 1.07 GB, free: 1.809 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001414/0.7598, allocations: 1.344 MB / 1.072 GB, free: 1.801 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004872/0.7603, allocations: 272.8 kB / 1.072 GB, free: 1.773 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007925/0.7611, allocations: 421.6 kB / 1.072 GB, free: 1.77 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004805/0.7615, allocations: 315.8 kB / 1.073 GB, free: 1.77 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.332e-05/0.7616, allocations: 19.09 kB / 1.073 GB, free: 1.77 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002359/0.764, allocations: 1.166 MB / 1.074 GB, free: 1.758 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002057/0.7642, allocations: 135.2 kB / 1.074 GB, free: 1.754 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004333/0.7646, allocations: 246.9 kB / 1.074 GB, free: 17.72 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.00174/0.7664, allocations: 0.9533 MB / 1.075 GB, free: 17.67 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.7664, allocations: 0.8438 kB / 1.075 GB, free: 17.67 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7664, allocations: 4 kB / 1.075 GB, free: 17.66 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.7664, allocations: 0 / 1.075 GB, free: 17.66 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.001251/0.7677, allocations: 0.736 MB / 1.076 GB, free: 17.12 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.7677, allocations: 9.344 kB / 1.076 GB, free: 17.12 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.79e-05/0.7678, allocations: 67.94 kB / 1.076 GB, free: 17.09 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/0.7691, allocations: 172.4 kB / 1.076 GB, free: 17.06 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005651/0.7696, allocations: 374 kB / 1.076 GB, free: 16.81 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.612e-05/0.7697, allocations: 30.47 kB / 1.077 GB, free: 16.81 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.364e-05/0.7697, allocations: 28.41 kB / 1.077 GB, free: 16.81 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007038/0.7704, allocations: 376.2 kB / 1.077 GB, free: 16.71 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.7705, allocations: 4.5 kB / 1.077 GB, free: 16.71 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.383e-05/0.7705, allocations: 16.02 kB / 1.077 GB, free: 16.71 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.838e-05/0.7706, allocations: 14.66 kB / 1.077 GB, free: 16.7 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000586/0.7711, allocations: 272.8 kB / 1.077 GB, free: 16.7 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.002119/0.7733, allocations: 1.674 MB / 1.079 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005149/0.7738, allocations: 213.5 kB / 1.079 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002701/0.7741, allocations: 117.7 kB / 1.079 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001166/0.7753, allocations: 0.8878 MB / 1.08 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.7753, allocations: 34.94 kB / 1.08 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=23): time 2.745e-06/0.7753, allocations: 0 / 1.08 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23): time 0.001051/0.7764, allocations: 375 kB / 1.08 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.7764, allocations: 53.41 kB / 1.08 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005566/0.777, allocations: 430.5 kB / 1.081 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.777, allocations: 31.08 kB / 1.081 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000179/0.7772, allocations: 207 kB / 1.081 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.244e-05/0.7773, allocations: 83.78 kB / 1.081 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.37e-05/0.7773, allocations: 6.719 kB / 1.081 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.7775, allocations: 351.8 kB / 1.082 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.7777, allocations: 84.89 kB / 1.082 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002269/0.7779, allocations: 131.9 kB / 1.082 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004285/0.7784, allocations: 219.5 kB / 1.082 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.7784, allocations: 2.578 kB / 1.082 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005301/0.7789, allocations: 288.3 kB / 1.082 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.779, allocations: 5 kB / 1.082 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.779, allocations: 1.844 kB / 1.082 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.779, allocations: 10 kB / 1.082 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002439/0.7792, allocations: 58.2 kB / 1.082 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.7793, allocations: 1.188 kB / 1.082 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000294/0.7796, allocations: 40.28 kB / 1.082 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.843e-05/0.7796, allocations: 8.656 kB / 1.082 GB, free: 13.64 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00017/0.7798, allocations: 166.3 kB / 1.082 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.843e-05/0.7799, allocations: 40.81 kB / 1.083 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006002/0.7805, allocations: 302.1 kB / 1.083 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.7805, allocations: 8.469 kB / 1.083 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.7805, allocations: 5.859 kB / 1.083 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.7805, allocations: 2.578 kB / 1.083 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001302/0.7818, allocations: 0.8196 MB / 1.084 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.7818, allocations: 2.688 kB / 1.084 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002373/0.7821, allocations: 45.84 kB / 1.084 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.7821, allocations: 2.781 kB / 1.084 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/0.7821, allocations: 11.86 kB / 1.084 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.7821, allocations: 6.781 kB / 1.084 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.7821, allocations: 5.219 kB / 1.084 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008098/0.7829, allocations: 0.5273 MB / 1.084 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001679/0.7831, allocations: 140.3 kB / 1.084 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.771e-05/0.7832, allocations: 12.31 kB / 1.084 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002978/0.7835, allocations: 26.12 kB / 1.084 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.326e-05/0.7836, allocations: 22.3 kB / 1.084 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.231e-05/0.7836, allocations: 15.62 kB / 1.084 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003016/0.7839, allocations: 305 kB / 1.085 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.593e-06/0.7839, allocations: 0 / 1.085 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004994/0.7844, allocations: 113.7 kB / 1.085 GB, free: 12.63 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001346/0.7858, allocations: 1.134 MB / 1.086 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004449/0.7862, allocations: 229.6 kB / 1.086 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.7863, allocations: 1.094 kB / 1.086 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002145/0.7865, allocations: 113.5 kB / 1.086 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.7876, allocations: 224.6 kB / 1.086 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004877/0.7925, allocations: 3.942 MB / 1.09 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/0.7929, allocations: 0.8264 MB / 1.091 GB, free: 9.18 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0003608/0.7933, allocations: 83.8 kB / 1.091 GB, free: 9.16 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001651/0.7935, allocations: 137.1 kB / 1.091 GB, free: 9.152 MB / 0.7136 GB Notification: Performance of SimCode: time 2.895e-06/0.7935, allocations: 0 / 1.091 GB, free: 9.152 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02179/0.8153, allocations: 11.39 MB / 1.102 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001811/0.8155, allocations: 247.6 kB / 1.103 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.378/3.194, allocations: 3.094 kB / 1.103 GB, free: 8.133 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)