Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.Airflow.Multizone.Examples.Orifice") translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001547/0.001547, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002437/0.002437, allocations: 193.8 kB / 16.13 MB, free: 6.66 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.676/1.676, allocations: 205.1 MB / 222 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6218/0.6218, allocations: 95.47 MB / 364.8 MB, free: 10.09 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 59.92 kB / 444.7 MB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4045/0.4063, allocations: 69.08 MB / 0.5017 GB, free: 17.47 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.584/0.9904, allocations: 191.7 MB / 0.6889 GB, free: 10 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003541/0.994, allocations: 1.905 MB / 0.6907 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005151/0.9945, allocations: 17.56 kB / 0.6908 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009373/0.9955, allocations: 265.4 kB / 0.691 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001798/0.9973, allocations: 0.7768 MB / 0.6918 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003862/1.001, allocations: 1.407 MB / 0.6931 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001897/1.003, allocations: 1.87 MB / 0.695 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000488/1.004, allocations: 380.5 kB / 0.6953 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007095/1.004, allocations: 483.9 kB / 0.6958 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005181/1.005, allocations: 486.8 kB / 0.6963 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.986e-05/1.005, allocations: 32.47 kB / 0.6963 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003357/1.008, allocations: 1.86 MB / 0.6981 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002295/1.009, allocations: 214.7 kB / 0.6983 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003324/1.009, allocations: 348.4 kB / 0.6986 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002491/1.011, allocations: 1.752 MB / 0.7003 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/1.011, allocations: 6.375 kB / 0.7004 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.62e-07/1.011, allocations: 0 / 0.7004 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.388e-06/1.011, allocations: 0 / 0.7004 GB, free: 6.105 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.002003/1.013, allocations: 1.129 MB / 0.7015 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/1.013, allocations: 14.03 kB / 0.7015 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002877/1.014, allocations: 79.47 kB / 0.7015 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006441/1.014, allocations: 493.2 kB / 0.702 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/1.014, allocations: 34.53 kB / 0.702 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.876e-05/1.015, allocations: 47.66 kB / 0.7021 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009235/1.015, allocations: 0.5815 MB / 0.7027 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/1.015, allocations: 0 / 0.7027 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.686e-05/1.016, allocations: 28.95 kB / 0.7027 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.847e-05/1.016, allocations: 16.16 kB / 0.7027 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009197/1.016, allocations: 0.5395 MB / 0.7032 GB, free: 4.504 MB / 0.4981 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.00301/1.02, allocations: 2.237 MB / 0.7054 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007009/1.02, allocations: 350.8 kB / 0.7058 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002828/1.021, allocations: 158 kB / 0.7059 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001322/1.022, allocations: 1.386 MB / 0.7073 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/1.022, allocations: 37.28 kB / 0.7073 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=35): time 1.473e-06/1.022, allocations: 0 / 0.7073 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.001075/1.023, allocations: 0.5347 MB / 0.7078 GB, free: 444 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/1.023, allocations: 57.19 kB / 0.7079 GB, free: 376 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006331/1.024, allocations: 0.62 MB / 0.7085 GB, free: 8 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.244e-05/1.024, allocations: 32.42 kB / 0.7085 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/1.024, allocations: 293.1 kB / 0.7088 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 9.253e-05/1.024, allocations: 117.4 kB / 0.7089 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/1.024, allocations: 86.67 kB / 0.709 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001583/1.024, allocations: 366.3 kB / 0.7093 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002899/1.025, allocations: 157.1 kB / 0.7095 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000335/1.025, allocations: 228.9 kB / 0.7097 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006279/1.026, allocations: 398.3 kB / 0.7101 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/1.026, allocations: 0 / 0.7101 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008551/1.026, allocations: 0.4947 MB / 0.7106 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/1.027, allocations: 12.84 kB / 0.7106 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/1.027, allocations: 2.875 kB / 0.7106 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/1.027, allocations: 2.656 kB / 0.7106 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003887/1.027, allocations: 93.94 kB / 0.7107 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/1.027, allocations: 6.344 kB / 0.7107 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004616/1.027, allocations: 80.59 kB / 0.7107 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.916e-05/1.027, allocations: 12.31 kB / 0.7108 GB, free: 14.39 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (49): * Single equations (assignments): 49 * 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.0002267/1.028, allocations: 192.9 kB / 0.7109 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/1.028, allocations: 61.84 kB / 0.711 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001132/1.029, allocations: 0.625 MB / 0.7116 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.355e-05/1.029, allocations: 12.38 kB / 0.7116 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/1.029, allocations: 3.938 kB / 0.7116 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/1.029, allocations: 3.984 kB / 0.7116 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001494/1.031, allocations: 1.168 MB / 0.7128 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/1.031, allocations: 0 / 0.7128 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003049/1.031, allocations: 68.62 kB / 0.7128 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/1.031, allocations: 2.562 kB / 0.7128 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.923e-05/1.031, allocations: 10.33 kB / 0.7129 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/1.031, allocations: 5.188 kB / 0.7129 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/1.031, allocations: 3.984 kB / 0.7129 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001221/1.032, allocations: 0.8681 MB / 0.7137 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002333/1.032, allocations: 195.4 kB / 0.7139 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.822e-05/1.032, allocations: 12.86 kB / 0.7139 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004213/1.033, allocations: 26.73 kB / 0.7139 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.116e-05/1.033, allocations: 32.14 kB / 0.714 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.226e-05/1.033, allocations: 23.52 kB / 0.714 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005183/1.034, allocations: 493.1 kB / 0.7145 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.402e-06/1.034, allocations: 0 / 0.7145 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009728/1.035, allocations: 371.2 kB / 0.7148 GB, free: 11.75 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (38): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0009371/1.035, allocations: 469.5 kB / 0.7153 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007472/1.036, allocations: 425.6 kB / 0.7157 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/1.036, allocations: 0 / 0.7157 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003633/1.037, allocations: 229.2 kB / 0.7159 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001535/1.038, allocations: 343.6 kB / 0.7162 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002161/1.04, allocations: 1.5 MB / 0.7177 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004766/1.041, allocations: 0.9067 MB / 0.7186 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004928/1.041, allocations: 137.1 kB / 0.7187 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/1.042, allocations: 59.42 kB / 0.7187 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of SimCode: time 2.61e-07/1.042, allocations: 0 / 0.7187 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of Templates: time 0.02688/1.068, allocations: 16.91 MB / 0.7353 GB, free: 6.922 MB / 0.5294 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.Orifice.makefile (rm -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_1.6_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_1.6_Buildings.Airflow.Multizone.Examples.Orifice.sim & ./Buildings_1.6_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1)