Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.Orifice") translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.Orifice") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1218/0.1237, allocations: 80.84 MB / 0.6706 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.4325/0.5562, allocations: 173.8 MB / 0.8403 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003065/0.5593, allocations: 2.215 MB / 0.8425 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002237/0.5596, allocations: 13.19 kB / 0.8425 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007706/0.5604, allocations: 311.5 kB / 0.8428 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001321/0.5617, allocations: 0.7914 MB / 0.8436 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00166/0.5634, allocations: 0.8962 MB / 0.8444 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001107/0.5645, allocations: 1.298 MB / 0.8457 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004496/0.565, allocations: 415.7 kB / 0.8461 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007833/0.5658, allocations: 0.6409 MB / 0.8467 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004384/0.5662, allocations: 421.2 kB / 0.8471 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.432e-05/0.5663, allocations: 50.38 kB / 0.8472 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001058/0.5674, allocations: 0.7689 MB / 0.8479 GB, free: 500 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001959/0.5676, allocations: 223.1 kB / 0.8481 GB, free: 344 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002835/0.5679, allocations: 330 kB / 0.8484 GB, free: 140 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001143/0.569, allocations: 1.091 MB / 0.8495 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.569, allocations: 3.938 kB / 0.8495 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of FrontEnd: time 9.61e-07/0.569, allocations: 0 / 0.8495 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.814e-06/0.569, allocations: 0 / 0.8495 GB, free: 15.44 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001355/0.5704, allocations: 0.9514 MB / 0.8504 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 2.784e-05/0.5704, allocations: 7.719 kB / 0.8505 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/0.5715, allocations: 188.1 kB / 0.8506 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005208/0.572, allocations: 437.6 kB / 0.8511 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/0.5721, allocations: 29.91 kB / 0.8511 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.391e-05/0.5721, allocations: 44.44 kB / 0.8511 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007083/0.5729, allocations: 0.4959 MB / 0.8516 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.5729, allocations: 4 kB / 0.8516 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.151e-05/0.5729, allocations: 21.03 kB / 0.8516 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.9e-05/0.573, allocations: 12.84 kB / 0.8516 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000616/0.5736, allocations: 378.3 kB / 0.852 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002076/0.5757, allocations: 1.897 MB / 0.8539 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004176/0.5761, allocations: 236.4 kB / 0.8541 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002071/0.5763, allocations: 124.6 kB / 0.8542 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006833/0.577, allocations: 0.6882 MB / 0.8549 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.577, allocations: 36.38 kB / 0.8549 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=26): time 1.472e-06/0.577, allocations: 6.844 kB / 0.8549 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of matching and sorting (n=26): time 0.0007042/0.5777, allocations: 379.1 kB / 0.8553 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/0.5778, allocations: 54.16 kB / 0.8553 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004873/0.5783, allocations: 0.5195 MB / 0.8558 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/0.5783, allocations: 39.39 kB / 0.8559 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.5785, allocations: 268.8 kB / 0.8561 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.812e-05/0.5785, allocations: 97.11 kB / 0.8562 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.509e-05/0.5786, allocations: 59.38 kB / 0.8563 GB, free: 10 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.5788, allocations: 359.4 kB / 0.8566 GB, free: 9.656 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/0.579, allocations: 103.8 kB / 0.8567 GB, free: 9.609 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002293/0.5792, allocations: 166.9 kB / 0.8569 GB, free: 9.484 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000409/0.5796, allocations: 282.2 kB / 0.8571 GB, free: 9.305 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5796, allocations: 0 / 0.8571 GB, free: 9.305 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000555/0.5802, allocations: 377.7 kB / 0.8575 GB, free: 9.113 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.5802, allocations: 4.406 kB / 0.8575 GB, free: 9.113 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.5802, allocations: 5.734 kB / 0.8575 GB, free: 9.113 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.5802, allocations: 6.219 kB / 0.8575 GB, free: 9.109 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002576/0.5805, allocations: 79.77 kB / 0.8576 GB, free: 9.086 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.5805, allocations: 4.719 kB / 0.8576 GB, free: 9.086 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000258/0.5808, allocations: 51.81 kB / 0.8577 GB, free: 9.047 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.5808, allocations: 10.34 kB / 0.8577 GB, free: 9.047 MB / 0.6231 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 (39): * Single equations (assignments): 39 * 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.0001712/0.581, allocations: 184.6 kB / 0.8578 GB, free: 8.887 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.945e-05/0.5811, allocations: 54.95 kB / 0.8579 GB, free: 8.859 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005433/0.5816, allocations: 325.7 kB / 0.8582 GB, free: 8.668 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.5816, allocations: 2.562 kB / 0.8582 GB, free: 8.668 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.5816, allocations: 0 / 0.8582 GB, free: 8.668 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.5817, allocations: 6.422 kB / 0.8582 GB, free: 8.664 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.5827, allocations: 0.8833 MB / 0.8591 GB, free: 7.969 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.5827, allocations: 2.25 kB / 0.8591 GB, free: 7.969 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002246/0.5829, allocations: 55.75 kB / 0.8591 GB, free: 7.953 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.583, allocations: 2.656 kB / 0.8591 GB, free: 7.953 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.072e-05/0.583, allocations: 8.125 kB / 0.8591 GB, free: 7.949 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.583, allocations: 4.812 kB / 0.8591 GB, free: 7.949 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.583, allocations: 0 / 0.8591 GB, free: 7.949 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000731/0.5837, allocations: 0.5552 MB / 0.8597 GB, free: 7.566 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001738/0.5839, allocations: 179.5 kB / 0.8599 GB, free: 7.402 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.131e-05/0.584, allocations: 8.312 kB / 0.8599 GB, free: 7.398 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003399/0.5843, allocations: 24.02 kB / 0.8599 GB, free: 7.383 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.163e-05/0.5844, allocations: 25.95 kB / 0.8599 GB, free: 7.367 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.975e-05/0.5844, allocations: 17.55 kB / 0.8599 GB, free: 7.363 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003379/0.5848, allocations: 378.7 kB / 0.8603 GB, free: 7.141 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9e-08/0.5848, allocations: 0 / 0.8603 GB, free: 7.141 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004159/0.5852, allocations: 157.3 kB / 0.8604 GB, free: 7.078 MB / 0.6231 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 (26): * Single equations (assignments): 26 * 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.000336/0.5855, allocations: 175.5 kB / 0.8606 GB, free: 6.906 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004841/0.586, allocations: 260 kB / 0.8609 GB, free: 6.652 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.5861, allocations: 4 kB / 0.8609 GB, free: 6.648 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002172/0.5863, allocations: 132.4 kB / 0.861 GB, free: 6.52 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/0.5875, allocations: 301.3 kB / 0.8613 GB, free: 6.23 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/0.5889, allocations: 1.06 MB / 0.8623 GB, free: 5.125 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003595/0.5893, allocations: 0.8631 MB / 0.8632 GB, free: 4.234 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002926/0.5896, allocations: 100.5 kB / 0.8632 GB, free: 4.133 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.811e-05/0.5897, allocations: 43.44 kB / 0.8633 GB, free: 4.09 MB / 0.6231 GB Notification: Performance of SimCode: time 2.4e-07/0.5897, allocations: 0 / 0.8633 GB, free: 4.09 MB / 0.6231 GB Notification: Performance of Templates: time 0.01442/0.6041, allocations: 10.57 MB / 0.8736 GB, free: 9.645 MB / 0.6387 GB make -j1 -f Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.Orifice.makefile (rm -f Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.Orifice.sim & ./Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1)