Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice") translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.007665/0.007665, allocations: 100.1 kB / 15.73 MB, free: 6.004 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.001644/0.001644, allocations: 196.1 kB / 16.68 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.654/2.654, allocations: 205.1 MB / 222.5 MB, free: 4.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.559/1.559, allocations: 251.7 MB / 0.5094 GB, free: 2.977 MB / 414.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.001601/0.001601, allocations: 63.91 kB / 0.7258 GB, free: 9.113 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3144, allocations: 104.7 MB / 0.828 GB, free: 304 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 1.084/1.399, allocations: 173.9 MB / 0.9979 GB, free: 6.188 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.004793/1.404, allocations: 2.343 MB / 1 GB, free: 4.277 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009303/1.405, allocations: 16.25 kB / 1 GB, free: 4.27 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0009981/1.406, allocations: 239.3 kB / 1 GB, free: 4.07 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.003079/1.409, allocations: 0.9432 MB / 1.001 GB, free: 3.355 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002785/1.412, allocations: 0.8543 MB / 1.002 GB, free: 2.734 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001474/1.413, allocations: 0.9752 MB / 1.003 GB, free: 2.176 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007074/1.414, allocations: 328.5 kB / 1.003 GB, free: 1.973 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001115/1.415, allocations: 466.3 kB / 1.004 GB, free: 1.715 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005972/1.416, allocations: 308.5 kB / 1.004 GB, free: 1.535 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 9.367e-05/1.416, allocations: 35.12 kB / 1.004 GB, free: 1.535 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001979/1.418, allocations: 1.005 MB / 1.005 GB, free: 0.9648 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002192/1.418, allocations: 148.5 kB / 1.005 GB, free: 0.8633 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0003972/1.418, allocations: 234.7 kB / 1.006 GB, free: 0.7188 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001764/1.42, allocations: 0.9185 MB / 1.006 GB, free: 172 kB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/1.42, allocations: 0 / 1.006 GB, free: 172 kB / 0.7481 GB Notification: Performance of FrontEnd: time 1.623e-06/1.42, allocations: 0 / 1.006 GB, free: 172 kB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.648e-05/1.42, allocations: 2.5 kB / 1.006 GB, free: 172 kB / 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.001566/1.422, allocations: 0.8024 MB / 1.007 GB, free: 15.49 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/1.422, allocations: 7.844 kB / 1.007 GB, free: 15.49 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001298/1.423, allocations: 184.4 kB / 1.007 GB, free: 15.4 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007286/1.424, allocations: 395.4 kB / 1.008 GB, free: 15.05 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.476e-05/1.424, allocations: 20.84 kB / 1.008 GB, free: 15.04 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.447e-05/1.424, allocations: 32.31 kB / 1.008 GB, free: 15.03 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006156/1.425, allocations: 372.2 kB / 1.008 GB, free: 14.78 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/1.425, allocations: 0 / 1.008 GB, free: 14.78 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.208e-05/1.425, allocations: 16.62 kB / 1.008 GB, free: 14.77 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.327e-05/1.425, allocations: 13.44 kB / 1.008 GB, free: 14.77 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004995/1.425, allocations: 264.2 kB / 1.008 GB, free: 14.64 MB / 0.7637 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.001949/1.427, allocations: 1.676 MB / 1.01 GB, free: 13.09 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003753/1.427, allocations: 201 kB / 1.01 GB, free: 12.99 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002032/1.428, allocations: 116.5 kB / 1.01 GB, free: 12.93 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009564/1.429, allocations: 0.8719 MB / 1.011 GB, free: 11.95 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/1.429, allocations: 30.67 kB / 1.011 GB, free: 11.91 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=23): time 1.333e-06/1.429, allocations: 3.938 kB / 1.011 GB, free: 11.91 MB / 0.7637 GB Notification: Performance of matching and sorting (n=23): time 0.0008826/1.43, allocations: 362.2 kB / 1.012 GB, free: 11.73 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/1.43, allocations: 53.69 kB / 1.012 GB, free: 11.67 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004569/1.43, allocations: 422.9 kB / 1.012 GB, free: 11.41 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 3.853e-05/1.43, allocations: 31.83 kB / 1.012 GB, free: 11.38 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.000153/1.43, allocations: 204.7 kB / 1.012 GB, free: 11.2 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 7.65e-05/1.43, allocations: 84.8 kB / 1.012 GB, free: 11.12 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.806e-05/1.431, allocations: 51.89 kB / 1.012 GB, free: 11.09 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001388/1.431, allocations: 350.6 kB / 1.013 GB, free: 10.74 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001746/1.431, allocations: 83.08 kB / 1.013 GB, free: 10.7 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002151/1.431, allocations: 126.7 kB / 1.013 GB, free: 10.62 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003629/1.431, allocations: 215.6 kB / 1.013 GB, free: 10.5 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/1.431, allocations: 0 / 1.013 GB, free: 10.5 MB / 0.7637 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005109/1.432, allocations: 281 kB / 1.013 GB, free: 10.35 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/1.432, allocations: 7.688 kB / 1.013 GB, free: 10.35 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/1.432, allocations: 1.812 kB / 1.013 GB, free: 10.35 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/1.432, allocations: 3.031 kB / 1.013 GB, free: 10.35 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/1.432, allocations: 50.38 kB / 1.014 GB, free: 10.34 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/1.432, allocations: 6.062 kB / 1.014 GB, free: 10.33 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/1.433, allocations: 45.64 kB / 1.014 GB, free: 10.3 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.604e-05/1.433, allocations: 7.344 kB / 1.014 GB, free: 10.3 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.0001776/1.433, allocations: 166.8 kB / 1.014 GB, free: 10.15 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.422e-05/1.433, allocations: 39.28 kB / 1.014 GB, free: 10.13 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005478/1.433, allocations: 290 kB / 1.014 GB, free: 9.957 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/1.433, allocations: 2.719 kB / 1.014 GB, free: 9.957 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/1.433, allocations: 4 kB / 1.014 GB, free: 9.953 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/1.433, allocations: 0 / 1.014 GB, free: 9.953 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/1.435, allocations: 0.8125 MB / 1.015 GB, free: 9.301 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/1.435, allocations: 0 / 1.015 GB, free: 9.301 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002202/1.435, allocations: 47.52 kB / 1.015 GB, free: 9.289 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/1.435, allocations: 6.25 kB / 1.015 GB, free: 9.285 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.252e-05/1.435, allocations: 9.656 kB / 1.015 GB, free: 9.281 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.94e-06/1.435, allocations: 6.141 kB / 1.015 GB, free: 9.277 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.435, allocations: 2.906 kB / 1.015 GB, free: 9.277 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007269/1.436, allocations: 0.5062 MB / 1.015 GB, free: 8.922 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001745/1.436, allocations: 149.1 kB / 1.016 GB, free: 8.777 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.572e-05/1.436, allocations: 10.25 kB / 1.016 GB, free: 8.77 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000249/1.436, allocations: 16.33 kB / 1.016 GB, free: 8.762 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.804e-05/1.436, allocations: 22.09 kB / 1.016 GB, free: 8.75 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/1.436, allocations: 7.781 kB / 1.016 GB, free: 8.75 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0003062/1.437, allocations: 301.2 kB / 1.016 GB, free: 8.566 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.3e-07/1.437, allocations: 0 / 1.016 GB, free: 8.566 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0004309/1.437, allocations: 115.8 kB / 1.016 GB, free: 8.547 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.0004565/1.437, allocations: 197.6 kB / 1.016 GB, free: 8.406 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0004768/1.438, allocations: 218.8 kB / 1.016 GB, free: 8.312 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/1.438, allocations: 0 / 1.016 GB, free: 8.312 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0002099/1.438, allocations: 113.5 kB / 1.017 GB, free: 8.266 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009741/1.439, allocations: 215.3 kB / 1.017 GB, free: 8.152 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/1.441, allocations: 0.9003 MB / 1.018 GB, free: 7.52 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003765/1.441, allocations: 0.8262 MB / 1.018 GB, free: 6.754 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0002609/1.441, allocations: 83.62 kB / 1.018 GB, free: 6.715 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.296e-05/1.441, allocations: 35.86 kB / 1.019 GB, free: 6.703 MB / 0.7637 GB Notification: Performance of SimCode: time 2.4e-07/1.441, allocations: 0 / 1.019 GB, free: 6.703 MB / 0.7637 GB Notification: Performance of Templates: time 0.01453/1.456, allocations: 8.089 MB / 1.026 GB, free: 1.074 MB / 0.7637 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice.makefile (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice.sim & ./Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1)