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.001184/0.001184, allocations: 103.5 kB / 15.98 MB, free: 6.34 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.001263/0.001263, allocations: 197.8 kB / 16.91 MB, free: 6.184 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.448/1.448, allocations: 205.1 MB / 222.8 MB, free: 4.73 MB / 174.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.742/1.742, allocations: 292.3 MB / 0.5492 GB, free: 13.63 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.001397/0.001397, allocations: 66.89 kB / 0.6716 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2501, allocations: 114.5 MB / 0.7835 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.7195/0.9697, allocations: 171.5 MB / 0.951 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004062/0.9738, allocations: 2.274 MB / 0.9532 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000735/0.9745, allocations: 15 kB / 0.9532 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008523/0.9754, allocations: 201.5 kB / 0.9534 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002574/0.978, allocations: 0.8504 MB / 0.9542 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002531/0.9806, allocations: 0.7963 MB / 0.955 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001829/0.9824, allocations: 0.9669 MB / 0.9559 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000636/0.9831, allocations: 315.3 kB / 0.9562 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001034/0.9841, allocations: 462.2 kB / 0.9567 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005031/0.9846, allocations: 327.7 kB / 0.957 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.929e-05/0.9847, allocations: 37.44 kB / 0.957 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002442/0.9872, allocations: 1.034 MB / 0.958 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002809/0.9874, allocations: 146.3 kB / 0.9582 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004072/0.9879, allocations: 240.2 kB / 0.9584 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001557/0.9894, allocations: 0.6417 MB / 0.959 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.9894, allocations: 0 / 0.959 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.104e-06/0.9895, allocations: 0.5 kB / 0.959 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.9895, allocations: 0.5 kB / 0.959 GB, free: 5.59 MB / 0.7325 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.00199/0.9915, allocations: 0.8086 MB / 0.9598 GB, free: 21.04 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.794e-05/0.9915, allocations: 9.375 kB / 0.9598 GB, free: 21.04 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001403/0.9929, allocations: 176.6 kB / 0.96 GB, free: 21.01 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006483/0.9936, allocations: 375.7 kB / 0.9604 GB, free: 20.76 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.767e-05/0.9937, allocations: 28.09 kB / 0.9604 GB, free: 20.75 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.575e-05/0.9937, allocations: 32.67 kB / 0.9604 GB, free: 20.75 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007305/0.9945, allocations: 369.2 kB / 0.9608 GB, free: 20.66 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.9945, allocations: 0 / 0.9608 GB, free: 20.66 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.355e-05/0.9946, allocations: 17.94 kB / 0.9608 GB, free: 20.65 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.103e-05/0.9946, allocations: 11.64 kB / 0.9608 GB, free: 20.65 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005238/0.9951, allocations: 258.2 kB / 0.961 GB, free: 20.65 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.001924/0.997, allocations: 1.679 MB / 0.9627 GB, free: 19.5 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003766/0.9974, allocations: 203.5 kB / 0.9629 GB, free: 19.48 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002246/0.9977, allocations: 122.1 kB / 0.963 GB, free: 19.46 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001132/0.9988, allocations: 0.8705 MB / 0.9638 GB, free: 18.52 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.9989, allocations: 34.34 kB / 0.9639 GB, free: 18.48 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=23): time 1.613e-06/0.9989, allocations: 2.906 kB / 0.9639 GB, free: 18.48 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23): time 0.0009436/0.9998, allocations: 351.6 kB / 0.9642 GB, free: 18.43 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.9999, allocations: 58.92 kB / 0.9643 GB, free: 18.36 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005259/1, allocations: 425.4 kB / 0.9647 GB, free: 18.25 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/1, allocations: 30.58 kB / 0.9647 GB, free: 18.21 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/1.001, allocations: 210.7 kB / 0.9649 GB, free: 18.11 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.122e-05/1.001, allocations: 87.47 kB / 0.965 GB, free: 18.06 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.291e-05/1.001, allocations: 49.28 kB / 0.965 GB, free: 18.04 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001386/1.001, allocations: 350.6 kB / 0.9654 GB, free: 17.73 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/1.001, allocations: 82.67 kB / 0.9654 GB, free: 17.73 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/1.001, allocations: 133 kB / 0.9656 GB, free: 17.68 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003667/1.002, allocations: 204 kB / 0.9658 GB, free: 17.65 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/1.002, allocations: 5.031 kB / 0.9658 GB, free: 17.65 MB / 0.7481 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000541/1.002, allocations: 287 kB / 0.966 GB, free: 17.59 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/1.002, allocations: 5.312 kB / 0.966 GB, free: 17.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/1.002, allocations: 4.516 kB / 0.9661 GB, free: 17.59 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/1.002, allocations: 1.062 kB / 0.9661 GB, free: 17.59 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002365/1.003, allocations: 52.39 kB / 0.9661 GB, free: 17.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/1.003, allocations: 2.188 kB / 0.9661 GB, free: 17.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000319/1.003, allocations: 42 kB / 0.9661 GB, free: 17.57 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.815e-05/1.003, allocations: 13.64 kB / 0.9662 GB, free: 17.57 MB / 0.7481 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.0001861/1.003, allocations: 163.5 kB / 0.9663 GB, free: 17.45 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.145e-05/1.003, allocations: 39.38 kB / 0.9664 GB, free: 17.43 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005702/1.004, allocations: 291.6 kB / 0.9666 GB, free: 17.38 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/1.004, allocations: 3.875 kB / 0.9666 GB, free: 17.38 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/1.004, allocations: 0 / 0.9666 GB, free: 17.38 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/1.004, allocations: 0 / 0.9666 GB, free: 17.38 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/1.005, allocations: 0.8181 MB / 0.9674 GB, free: 17.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/1.005, allocations: 1.219 kB / 0.9674 GB, free: 17.02 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000221/1.005, allocations: 48.88 kB / 0.9675 GB, free: 17.02 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/1.005, allocations: 10.2 kB / 0.9675 GB, free: 17.01 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/1.005, allocations: 7.75 kB / 0.9675 GB, free: 17.01 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/1.005, allocations: 2.312 kB / 0.9675 GB, free: 17.01 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/1.005, allocations: 4.5 kB / 0.9675 GB, free: 17.01 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007357/1.006, allocations: 0.5112 MB / 0.968 GB, free: 16.8 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001668/1.006, allocations: 146.6 kB / 0.9681 GB, free: 16.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.271e-05/1.006, allocations: 6.969 kB / 0.9681 GB, free: 16.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002925/1.007, allocations: 22.55 kB / 0.9682 GB, free: 16.68 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.019e-05/1.007, allocations: 23.19 kB / 0.9682 GB, free: 16.68 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.062e-05/1.007, allocations: 7.219 kB / 0.9682 GB, free: 16.68 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003359/1.007, allocations: 302 kB / 0.9685 GB, free: 16.59 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.31e-07/1.007, allocations: 1 kB / 0.9685 GB, free: 16.59 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00059/1.008, allocations: 115.1 kB / 0.9686 GB, free: 16.58 MB / 0.7481 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.0005389/1.008, allocations: 194.7 kB / 0.9688 GB, free: 16.47 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005999/1.009, allocations: 221.6 kB / 0.969 GB, free: 16.46 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/1.009, allocations: 1.719 kB / 0.969 GB, free: 16.46 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002342/1.009, allocations: 122.7 kB / 0.9691 GB, free: 16.45 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/1.01, allocations: 225.8 kB / 0.9693 GB, free: 16.42 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/1.012, allocations: 1.065 MB / 0.9704 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005078/1.012, allocations: 0.8287 MB / 0.9712 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/1.012, allocations: 34.19 kB / 0.9712 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of SimCode: time 7.72e-07/1.012, allocations: 1.203 kB / 0.9712 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of Templates: time 0.01097/1.023, allocations: 6.591 MB / 0.9776 GB, free: 14.47 MB / 0.7481 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)