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.001257/0.001257, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 192.7 kB / 16.64 MB, free: 6.594 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.405/1.405, allocations: 205.1 MB / 222.5 MB, free: 4.574 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.749/1.749, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001449/0.001449, allocations: 66.16 kB / 0.6722 GB, free: 25.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.192, allocations: 114.6 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.5631/0.7552, allocations: 173.8 MB / 0.9538 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003964/0.7592, allocations: 2.294 MB / 0.9561 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004914/0.7597, allocations: 13 kB / 0.9561 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000691/0.7604, allocations: 235.9 kB / 0.9563 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001953/0.7624, allocations: 0.8949 MB / 0.9572 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002115/0.7645, allocations: 0.8507 MB / 0.958 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001209/0.7658, allocations: 0.9672 MB / 0.959 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004849/0.7663, allocations: 336.2 kB / 0.9593 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000807/0.7671, allocations: 456.3 kB / 0.9597 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004592/0.7675, allocations: 311.8 kB / 0.96 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.092e-05/0.7676, allocations: 33 kB / 0.96 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002019/0.7696, allocations: 0.9892 MB / 0.961 GB, free: 476 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001778/0.7698, allocations: 151.2 kB / 0.9611 GB, free: 476 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003132/0.7702, allocations: 236.4 kB / 0.9614 GB, free: 472 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001353/0.7715, allocations: 0.914 MB / 0.9623 GB, free: 404 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.7715, allocations: 9.031 kB / 0.9623 GB, free: 400 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.764e-06/0.7715, allocations: 1.094 kB / 0.9623 GB, free: 400 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.605e-06/0.7716, allocations: 0 / 0.9623 GB, free: 400 kB / 0.7169 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.001241/0.7728, allocations: 0.8011 MB / 0.9631 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.7729, allocations: 15.41 kB / 0.9631 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001248/0.7741, allocations: 180 kB / 0.9632 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007086/0.7748, allocations: 388.2 kB / 0.9636 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.061e-05/0.7749, allocations: 23.91 kB / 0.9636 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.407e-05/0.775, allocations: 37.52 kB / 0.9637 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007579/0.7757, allocations: 370.1 kB / 0.964 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/0.7758, allocations: 1.125 kB / 0.964 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.197e-05/0.7758, allocations: 13.78 kB / 0.964 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.138e-05/0.7759, allocations: 11.48 kB / 0.9641 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006059/0.7765, allocations: 256 kB / 0.9643 GB, free: 15.43 MB / 0.7325 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.001901/0.7784, allocations: 1.677 MB / 0.9659 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004402/0.7788, allocations: 209.2 kB / 0.9661 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002334/0.7791, allocations: 116.4 kB / 0.9662 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001088/0.7802, allocations: 0.874 MB / 0.9671 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.929e-05/0.7802, allocations: 35.75 kB / 0.9671 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=23): time 2.104e-06/0.7802, allocations: 1.094 kB / 0.9671 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23): time 0.0009814/0.7812, allocations: 348.7 kB / 0.9675 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.861e-05/0.7813, allocations: 58.94 kB / 0.9675 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005348/0.7818, allocations: 425.2 kB / 0.9679 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.7819, allocations: 34.64 kB / 0.968 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.7821, allocations: 213.1 kB / 0.9682 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.84e-05/0.7822, allocations: 85.34 kB / 0.9682 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.324e-05/0.7823, allocations: 48.8 kB / 0.9683 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.7824, allocations: 351.5 kB / 0.9686 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/0.7826, allocations: 77.92 kB / 0.9687 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002277/0.7828, allocations: 129.4 kB / 0.9688 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003981/0.7832, allocations: 209.3 kB / 0.969 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.7833, allocations: 0 / 0.969 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005262/0.7838, allocations: 288.7 kB / 0.9693 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.7838, allocations: 5.562 kB / 0.9693 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.7838, allocations: 1.25 kB / 0.9693 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.7839, allocations: 2.438 kB / 0.9693 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002403/0.7841, allocations: 50.66 kB / 0.9694 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.7841, allocations: 3.281 kB / 0.9694 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002192/0.7843, allocations: 32.16 kB / 0.9694 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.629e-05/0.7844, allocations: 13.3 kB / 0.9694 GB, free: 12.33 MB / 0.7325 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.0001667/0.7845, allocations: 167.7 kB / 0.9696 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.106e-05/0.7846, allocations: 43.94 kB / 0.9696 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006039/0.7852, allocations: 288 kB / 0.9699 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.7853, allocations: 3.312 kB / 0.9699 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.7853, allocations: 0 / 0.9699 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.7853, allocations: 0 / 0.9699 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00139/0.7867, allocations: 0.8134 MB / 0.9707 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.7867, allocations: 5.422 kB / 0.9707 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002274/0.7869, allocations: 45.33 kB / 0.9707 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.276e-06/0.787, allocations: 6.875 kB / 0.9707 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/0.787, allocations: 11.44 kB / 0.9707 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.787, allocations: 2.75 kB / 0.9707 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.787, allocations: 6.688 kB / 0.9707 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007546/0.7878, allocations: 0.4997 MB / 0.9712 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001603/0.7879, allocations: 150.2 kB / 0.9714 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.908e-05/0.788, allocations: 6.062 kB / 0.9714 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002574/0.7883, allocations: 16.08 kB / 0.9714 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.579e-05/0.7883, allocations: 28.41 kB / 0.9714 GB, free: 11.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/0.7884, allocations: 10.03 kB / 0.9714 GB, free: 11.4 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002971/0.7887, allocations: 299.5 kB / 0.9717 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7887, allocations: 0 / 0.9717 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004761/0.7891, allocations: 122.4 kB / 0.9718 GB, free: 11.3 MB / 0.7325 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.0004108/0.7896, allocations: 192.6 kB / 0.972 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004924/0.7901, allocations: 211.4 kB / 0.9722 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.7901, allocations: 5.438 kB / 0.9722 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002226/0.7903, allocations: 120.3 kB / 0.9723 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.7914, allocations: 219.3 kB / 0.9726 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.7929, allocations: 0.8993 MB / 0.9734 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003818/0.7933, allocations: 0.8279 MB / 0.9742 GB, free: 9.914 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002655/0.7935, allocations: 83.53 kB / 0.9743 GB, free: 9.891 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.693e-05/0.7936, allocations: 39.14 kB / 0.9744 GB, free: 9.879 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.7937, allocations: 0 / 0.9744 GB, free: 9.879 MB / 0.7325 GB Notification: Performance of Templates: time 0.01328/0.8069, allocations: 8.023 MB / 0.9822 GB, free: 6.73 MB / 0.7325 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)