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: translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice") translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.657/1.657, allocations: 292.3 MB / 308.1 MB, free: 4.324 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.001689/0.001689, allocations: 180.5 kB / 376.9 MB, free: 1.805 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.388/1.388, allocations: 205.1 MB / 0.6354 GB, free: 9.801 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.0009272/0.0009272, allocations: 99.06 kB / 0.748 GB, free: 61.18 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 55.92 kB / 0.8703 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2468, allocations: 114.5 MB / 0.9822 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.6688/0.9156, allocations: 171.5 MB / 1.15 GB, free: 9.527 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.003883/0.9195, allocations: 2.305 MB / 1.152 GB, free: 7.914 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004473/0.92, allocations: 14.09 kB / 1.152 GB, free: 7.906 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0007519/0.9208, allocations: 194.6 kB / 1.152 GB, free: 7.793 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.002082/0.9229, allocations: 0.8451 MB / 1.153 GB, free: 7.355 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002135/0.9251, allocations: 0.7788 MB / 1.154 GB, free: 6.961 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.001408/0.9265, allocations: 1.347 MB / 1.155 GB, free: 6.48 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003978/0.9269, allocations: 287.1 kB / 1.155 GB, free: 6.363 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006129/0.9275, allocations: 423.6 kB / 1.156 GB, free: 6.199 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000369/0.9279, allocations: 334.1 kB / 1.156 GB, free: 6.059 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 4.949e-05/0.928, allocations: 22.16 kB / 1.156 GB, free: 6.059 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001852/0.9298, allocations: 1.16 MB / 1.157 GB, free: 5.625 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0001597/0.93, allocations: 142.6 kB / 1.157 GB, free: 5.57 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0002209/0.9302, allocations: 225.7 kB / 1.158 GB, free: 5.449 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001274/0.9315, allocations: 0.9537 MB / 1.159 GB, free: 5.121 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.9315, allocations: 0 / 1.159 GB, free: 5.121 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.012e-06/0.9315, allocations: 0 / 1.159 GB, free: 5.121 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.9316, allocations: 3.312 kB / 1.159 GB, free: 5.121 MB / 0.7605 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.001323/0.9329, allocations: 0.8064 MB / 1.159 GB, free: 4.504 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.933, allocations: 8.969 kB / 1.159 GB, free: 4.504 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/0.9341, allocations: 178.9 kB / 1.159 GB, free: 4.461 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000566/0.9347, allocations: 374.7 kB / 1.16 GB, free: 4.156 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.9347, allocations: 21.34 kB / 1.16 GB, free: 4.148 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.501e-05/0.9348, allocations: 38.83 kB / 1.16 GB, free: 4.133 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005945/0.9354, allocations: 366.3 kB / 1.16 GB, free: 3.945 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.9354, allocations: 8.359 kB / 1.16 GB, free: 3.941 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.059e-05/0.9354, allocations: 11.25 kB / 1.16 GB, free: 3.934 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.755e-05/0.9355, allocations: 13.88 kB / 1.16 GB, free: 3.93 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004973/0.936, allocations: 255.7 kB / 1.161 GB, free: 3.852 MB / 0.7605 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.00183/0.9378, allocations: 1.677 MB / 1.162 GB, free: 2.484 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003738/0.9382, allocations: 206.5 kB / 1.162 GB, free: 2.402 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002234/0.9384, allocations: 116 kB / 1.162 GB, free: 2.359 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001098/0.9395, allocations: 0.876 MB / 1.163 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.9396, allocations: 37.62 kB / 1.163 GB, free: 1.363 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=23): time 2.836e-06/0.9396, allocations: 1.312 kB / 1.163 GB, free: 1.363 MB / 0.7605 GB Notification: Performance of matching and sorting (n=23): time 0.0008848/0.9405, allocations: 360.4 kB / 1.164 GB, free: 1.227 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.9406, allocations: 54.06 kB / 1.164 GB, free: 1.164 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004124/0.941, allocations: 425.5 kB / 1.164 GB, free: 0.9648 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.941, allocations: 25.7 kB / 1.164 GB, free: 0.9336 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.9412, allocations: 213.5 kB / 1.164 GB, free: 0.7578 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 7.342e-05/0.9412, allocations: 83.53 kB / 1.164 GB, free: 0.6914 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.985e-05/0.9413, allocations: 48.52 kB / 1.165 GB, free: 0.6602 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.9415, allocations: 354 kB / 1.165 GB, free: 336 kB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.9417, allocations: 78.92 kB / 1.165 GB, free: 312 kB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000216/0.9419, allocations: 124.8 kB / 1.165 GB, free: 248 kB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003958/0.9423, allocations: 209.1 kB / 1.165 GB, free: 148 kB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.9423, allocations: 0 / 1.165 GB, free: 148 kB / 0.7605 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005205/0.9428, allocations: 294.6 kB / 1.166 GB, free: 16 kB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.9429, allocations: 4.281 kB / 1.166 GB, free: 16 kB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.9429, allocations: 3.062 kB / 1.166 GB, free: 16 kB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.9429, allocations: 0 / 1.166 GB, free: 16 kB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002297/0.9431, allocations: 52.27 kB / 1.166 GB, free: 12 kB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.9432, allocations: 11.19 kB / 1.166 GB, free: 4 kB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002823/0.9435, allocations: 36.81 kB / 1.166 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.587e-05/0.9435, allocations: 9.562 kB / 1.166 GB, free: 15.98 MB / 0.7761 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.0002088/0.9437, allocations: 161.5 kB / 1.166 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.876e-05/0.9438, allocations: 40.97 kB / 1.166 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005738/0.9444, allocations: 290 kB / 1.166 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.9444, allocations: 3.875 kB / 1.166 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.9444, allocations: 0.5 kB / 1.166 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.9444, allocations: 0 / 1.166 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00123/0.9456, allocations: 0.8146 MB / 1.167 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.9457, allocations: 0 / 1.167 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000223/0.9459, allocations: 50.64 kB / 1.167 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.812e-06/0.9459, allocations: 6.938 kB / 1.167 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/0.9459, allocations: 6.406 kB / 1.167 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.9459, allocations: 4.734 kB / 1.167 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.9459, allocations: 7.156 kB / 1.167 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009675/0.9556, allocations: 3.559 MB / 1.17 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001972/0.9559, allocations: 150 kB / 1.171 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.954e-05/0.9559, allocations: 7.375 kB / 1.171 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002836/0.9562, allocations: 24.73 kB / 1.171 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.035e-05/0.9563, allocations: 25.09 kB / 1.171 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/0.9563, allocations: 10.31 kB / 1.171 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003207/0.9566, allocations: 303 kB / 1.171 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9567, allocations: 0 / 1.171 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0006606/0.9573, allocations: 176.8 kB / 1.171 GB, free: 12.7 MB / 0.7761 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.0004262/0.9578, allocations: 196.5 kB / 1.171 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000477/0.9582, allocations: 200.5 kB / 1.172 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.9583, allocations: 0 / 1.172 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002091/0.9585, allocations: 112.4 kB / 1.172 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.9596, allocations: 220.3 kB / 1.172 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001791/0.9614, allocations: 1.221 MB / 1.173 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000378/0.9618, allocations: 0.8322 MB / 1.174 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0003592/0.9622, allocations: 93.17 kB / 1.174 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.9623, allocations: 36.16 kB / 1.174 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of SimCode: time 2.71e-07/0.9623, allocations: 4 kB / 1.174 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of Templates: time 0.0141/0.9764, allocations: 8.969 MB / 1.183 GB, free: 10.28 MB / 0.7761 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.makefile (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 & ./Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1)