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.000867/0.0008671, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0009247/0.0009251, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.828/1.828, allocations: 205.4 MB / 222.1 MB, free: 5.887 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.6364/0.6364, allocations: 95.62 MB / 366 MB, free: 10.44 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.001/0.001001, allocations: 16 kB / 446.9 MB, free: 9.438 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.47/0.4711, allocations: 70.33 MB / 0.5051 GB, free: 16.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.636/1.107, allocations: 176.2 MB / 0.6771 GB, free: 60 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00372/1.111, allocations: 1.794 MB / 0.6788 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006529/1.112, allocations: 15.88 kB / 0.6789 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008948/1.113, allocations: 216.3 kB / 0.6791 GB, free: 15.8 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002467/1.115, allocations: 0.6984 MB / 0.6797 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004574/1.12, allocations: 1.113 MB / 0.6808 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002311/1.122, allocations: 1.587 MB / 0.6824 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006913/1.123, allocations: 358.6 kB / 0.6827 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009516/1.124, allocations: 474.6 kB / 0.6832 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007759/1.124, allocations: 462.2 kB / 0.6836 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.09e-05/1.124, allocations: 26.12 kB / 0.6836 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003475/1.128, allocations: 0.9773 MB / 0.6846 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002919/1.128, allocations: 206.2 kB / 0.6848 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002289/1.128, allocations: 158.4 kB / 0.6849 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001908/1.13, allocations: 1.077 MB / 0.686 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/1.13, allocations: 0 / 0.686 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.594e-06/1.13, allocations: 0 / 0.686 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.458e-06/1.13, allocations: 0 / 0.686 GB, free: 14.11 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.001875/1.132, allocations: 1.009 MB / 0.687 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/1.132, allocations: 12.2 kB / 0.687 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002942/1.133, allocations: 78.94 kB / 0.6871 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006723/1.133, allocations: 474.3 kB / 0.6875 GB, free: 13 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.533e-05/1.133, allocations: 40.14 kB / 0.6876 GB, free: 13 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.499e-05/1.133, allocations: 47.25 kB / 0.6876 GB, free: 13 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009713/1.134, allocations: 0.585 MB / 0.6882 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/1.134, allocations: 0 / 0.6882 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.544e-05/1.135, allocations: 22.52 kB / 0.6882 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-05/1.135, allocations: 18.52 kB / 0.6882 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000899/1.136, allocations: 0.5388 MB / 0.6887 GB, free: 12.7 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.003263/1.139, allocations: 2.238 MB / 0.6909 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007466/1.14, allocations: 353.5 kB / 0.6913 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002971/1.14, allocations: 158 kB / 0.6914 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001504/1.141, allocations: 1.407 MB / 0.6928 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/1.141, allocations: 36.84 kB / 0.6928 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=35): time 2.124e-06/1.141, allocations: 0 / 0.6928 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.001271/1.143, allocations: 0.544 MB / 0.6934 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/1.143, allocations: 58.25 kB / 0.6934 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007772/1.144, allocations: 0.6056 MB / 0.694 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.761e-05/1.144, allocations: 35.64 kB / 0.694 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002537/1.144, allocations: 290 kB / 0.6943 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/1.144, allocations: 122.2 kB / 0.6944 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.24e-05/1.144, allocations: 13.5 kB / 0.6944 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000216/1.144, allocations: 372.8 kB / 0.6948 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003119/1.145, allocations: 163.2 kB / 0.695 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003826/1.145, allocations: 231.3 kB / 0.6952 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003746/1.145, allocations: 186.8 kB / 0.6954 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/1.145, allocations: 6.906 kB / 0.6954 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009249/1.146, allocations: 0.4991 MB / 0.6958 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/1.146, allocations: 11.53 kB / 0.6959 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/1.146, allocations: 0 / 0.6959 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/1.146, allocations: 5.125 kB / 0.6959 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004067/1.147, allocations: 99.81 kB / 0.696 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/1.147, allocations: 6.875 kB / 0.696 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005216/1.147, allocations: 73.44 kB / 0.696 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.547e-05/1.147, allocations: 14.31 kB / 0.696 GB, free: 8.059 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003188/1.148, allocations: 196.7 kB / 0.6962 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/1.148, allocations: 61.06 kB / 0.6963 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001159/1.149, allocations: 0.6412 MB / 0.6969 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.632e-05/1.149, allocations: 6.422 kB / 0.6969 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/1.149, allocations: 2.219 kB / 0.6969 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/1.149, allocations: 3.984 kB / 0.6969 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001602/1.151, allocations: 1.181 MB / 0.6981 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/1.151, allocations: 0 / 0.6981 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003194/1.151, allocations: 69.86 kB / 0.6982 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/1.151, allocations: 2.594 kB / 0.6982 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.862e-05/1.151, allocations: 8.469 kB / 0.6982 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.176e-06/1.151, allocations: 15.23 kB / 0.6982 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.151, allocations: 0 / 0.6982 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001394/1.152, allocations: 0.868 MB / 0.699 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003346/1.153, allocations: 224.4 kB / 0.6992 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.522e-05/1.153, allocations: 6.438 kB / 0.6992 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004168/1.153, allocations: 34.06 kB / 0.6993 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.407e-05/1.153, allocations: 38.33 kB / 0.6993 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.552e-05/1.154, allocations: 20.86 kB / 0.6993 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006216/1.154, allocations: 489.1 kB / 0.6998 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.154, allocations: 0 / 0.6998 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001153/1.155, allocations: 361.9 kB / 0.7001 GB, free: 6.387 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009553/1.156, allocations: 447.1 kB / 0.7006 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008051/1.157, allocations: 428.1 kB / 0.701 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/1.157, allocations: 0 / 0.701 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003529/1.157, allocations: 234.3 kB / 0.7012 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001587/1.159, allocations: 350.3 kB / 0.7015 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002381/1.161, allocations: 1.551 MB / 0.7031 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006049/1.162, allocations: 0.9065 MB / 0.7039 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000547/1.163, allocations: 130.9 kB / 0.7041 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/1.163, allocations: 61.86 kB / 0.7041 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of SimCode: time 4.51e-07/1.163, allocations: 0 / 0.7041 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of Templates: time 0.02785/1.191, allocations: 16.35 MB / 0.7201 GB, free: 7.879 MB / 0.5137 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.Orifice.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: