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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 105.1 kB / 16.29 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 179.3 kB / 17.22 MB, free: 5.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.292/1.292, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.578/1.578, allocations: 292.3 MB / 0.5495 GB, free: 17.68 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 71.84 kB / 0.6722 GB, free: 6.586 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1693, allocations: 114.5 MB / 0.7841 GB, free: 3.922 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.4174/0.5867, allocations: 173.8 MB / 0.9538 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.002999/0.5898, allocations: 2.292 MB / 0.956 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002028/0.59, allocations: 19.88 kB / 0.956 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.000572/0.5906, allocations: 222.4 kB / 0.9562 GB, free: 10.28 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001459/0.5921, allocations: 0.9099 MB / 0.9571 GB, free: 9.363 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001519/0.5936, allocations: 0.8559 MB / 0.958 GB, free: 8.512 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0008565/0.5945, allocations: 0.9662 MB / 0.9589 GB, free: 7.543 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003833/0.5949, allocations: 327 kB / 0.9592 GB, free: 7.219 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004985/0.5954, allocations: 458.3 kB / 0.9596 GB, free: 6.77 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000313/0.5957, allocations: 306.7 kB / 0.9599 GB, free: 6.469 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 5.18e-05/0.5957, allocations: 36 kB / 0.96 GB, free: 6.434 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001281/0.597, allocations: 0.9937 MB / 0.9609 GB, free: 5.438 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.5972, allocations: 151.5 kB / 0.9611 GB, free: 5.289 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001927/0.5974, allocations: 232.9 kB / 0.9613 GB, free: 5.062 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.000946/0.5983, allocations: 0.9115 MB / 0.9622 GB, free: 4.148 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.5983, allocations: 8 kB / 0.9622 GB, free: 4.141 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5983, allocations: 0 / 0.9622 GB, free: 4.141 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.5984, allocations: 0 / 0.9622 GB, free: 4.141 MB / 0.7481 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.001014/0.5994, allocations: 0.8049 MB / 0.963 GB, free: 3.285 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.024e-05/0.5994, allocations: 16.03 kB / 0.963 GB, free: 3.27 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.6005, allocations: 176.1 kB / 0.9632 GB, free: 3.098 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004201/0.6009, allocations: 373.4 kB / 0.9635 GB, free: 2.691 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.601, allocations: 24.66 kB / 0.9636 GB, free: 2.668 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.072e-05/0.601, allocations: 32 kB / 0.9636 GB, free: 2.637 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005088/0.6015, allocations: 373.1 kB / 0.9639 GB, free: 2.246 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.6015, allocations: 4 kB / 0.964 GB, free: 2.242 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.821e-05/0.6016, allocations: 15.98 kB / 0.964 GB, free: 2.227 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.059e-05/0.6016, allocations: 15.94 kB / 0.964 GB, free: 2.211 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004332/0.602, allocations: 254 kB / 0.9642 GB, free: 1.961 MB / 0.7481 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.001453/0.6035, allocations: 1.677 MB / 0.9659 GB, free: 156 kB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003363/0.6038, allocations: 207.7 kB / 0.9661 GB, free: 15.94 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001841/0.604, allocations: 116.8 kB / 0.9662 GB, free: 15.82 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00087/0.6049, allocations: 0.8701 MB / 0.967 GB, free: 14.77 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.605, allocations: 34.56 kB / 0.9671 GB, free: 14.73 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=23): time 1.253e-06/0.605, allocations: 0 / 0.9671 GB, free: 14.73 MB / 0.7637 GB Notification: Performance of matching and sorting (n=23): time 0.0007496/0.6057, allocations: 363.6 kB / 0.9674 GB, free: 14.37 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.6058, allocations: 59.41 kB / 0.9675 GB, free: 14.3 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003667/0.6061, allocations: 418 kB / 0.9679 GB, free: 13.89 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.6062, allocations: 33.7 kB / 0.9679 GB, free: 13.85 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.6063, allocations: 212.3 kB / 0.9681 GB, free: 13.64 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 5.149e-05/0.6063, allocations: 82.75 kB / 0.9682 GB, free: 13.55 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.866e-05/0.6064, allocations: 49.7 kB / 0.9682 GB, free: 13.5 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.6065, allocations: 346.8 kB / 0.9685 GB, free: 13.15 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.6067, allocations: 83.95 kB / 0.9686 GB, free: 13.07 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001881/0.6069, allocations: 128.5 kB / 0.9687 GB, free: 12.93 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003344/0.6072, allocations: 210.8 kB / 0.969 GB, free: 12.72 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.6072, allocations: 32 / 0.969 GB, free: 12.72 MB / 0.7637 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004365/0.6077, allocations: 289 kB / 0.9692 GB, free: 12.43 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.6077, allocations: 7.984 kB / 0.9692 GB, free: 12.42 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.6077, allocations: 6.25 kB / 0.9692 GB, free: 12.42 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.6077, allocations: 0 / 0.9692 GB, free: 12.42 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001974/0.6079, allocations: 47.92 kB / 0.9693 GB, free: 12.37 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.6079, allocations: 6.969 kB / 0.9693 GB, free: 12.37 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.6081, allocations: 31.67 kB / 0.9693 GB, free: 12.34 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.121e-05/0.6082, allocations: 12.03 kB / 0.9693 GB, free: 12.32 MB / 0.7637 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.0001319/0.6083, allocations: 165.8 kB / 0.9695 GB, free: 12.15 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.343e-05/0.6084, allocations: 44.88 kB / 0.9695 GB, free: 12.11 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004914/0.6089, allocations: 286.6 kB / 0.9698 GB, free: 11.82 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.6089, allocations: 7.938 kB / 0.9698 GB, free: 11.81 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.6089, allocations: 0.6875 kB / 0.9698 GB, free: 11.81 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.6089, allocations: 0 / 0.9698 GB, free: 11.81 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009899/0.6099, allocations: 0.8125 MB / 0.9706 GB, free: 10.93 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.6099, allocations: 4.188 kB / 0.9706 GB, free: 10.92 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001932/0.6101, allocations: 47.91 kB / 0.9707 GB, free: 10.88 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.6101, allocations: 10.12 kB / 0.9707 GB, free: 10.87 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.6101, allocations: 8 kB / 0.9707 GB, free: 10.86 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.6101, allocations: 4 kB / 0.9707 GB, free: 10.86 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.6101, allocations: 0 / 0.9707 GB, free: 10.86 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006319/0.6108, allocations: 0.5063 MB / 0.9712 GB, free: 10.32 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.6109, allocations: 148.5 kB / 0.9713 GB, free: 10.15 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.645e-05/0.611, allocations: 0 / 0.9713 GB, free: 10.15 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.6112, allocations: 21.2 kB / 0.9713 GB, free: 10.13 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.768e-05/0.6113, allocations: 19.98 kB / 0.9714 GB, free: 10.11 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.6113, allocations: 4 kB / 0.9714 GB, free: 10.11 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.000258/0.6115, allocations: 307.1 kB / 0.9717 GB, free: 9.809 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6116, allocations: 0 / 0.9717 GB, free: 9.809 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0003516/0.6119, allocations: 115.8 kB / 0.9718 GB, free: 9.695 MB / 0.7637 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.0003183/0.6122, allocations: 190.3 kB / 0.9719 GB, free: 9.512 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0003981/0.6126, allocations: 219.6 kB / 0.9722 GB, free: 9.297 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.6127, allocations: 0 / 0.9722 GB, free: 9.297 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0001936/0.6129, allocations: 118.3 kB / 0.9723 GB, free: 9.184 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008719/0.6137, allocations: 217.7 kB / 0.9725 GB, free: 9.004 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.6149, allocations: 0.8993 MB / 0.9734 GB, free: 8.066 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.6152, allocations: 0.8233 MB / 0.9742 GB, free: 7.219 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.000202/0.6154, allocations: 87.33 kB / 0.9742 GB, free: 7.129 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.087e-05/0.6155, allocations: 33.5 kB / 0.9743 GB, free: 7.102 MB / 0.7637 GB Notification: Performance of SimCode: time 2.51e-07/0.6155, allocations: 0 / 0.9743 GB, free: 7.102 MB / 0.7637 GB Notification: Performance of Templates: time 0.6516/1.267, allocations: 8.046 MB / 0.9821 GB, free: 15.26 MB / 0.7794 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1)