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.119/0.1208, allocations: 80.82 MB / 0.5897 GB, free: 7.141 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.3828/0.5037, allocations: 171.5 MB / 0.7572 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002949/0.5066, allocations: 2.239 MB / 0.7594 GB, free: 12.64 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002761/0.5069, allocations: 15.5 kB / 0.7594 GB, free: 12.63 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007397/0.5077, allocations: 266.5 kB / 0.7596 GB, free: 12.48 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001327/0.5091, allocations: 0.7509 MB / 0.7604 GB, free: 12.14 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001686/0.5108, allocations: 0.8233 MB / 0.7612 GB, free: 11.88 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001289/0.5121, allocations: 1.821 MB / 0.763 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003597/0.5124, allocations: 348.2 kB / 0.7633 GB, free: 11.15 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007481/0.5132, allocations: 0.5666 MB / 0.7638 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003657/0.5136, allocations: 440.5 kB / 0.7643 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.532e-05/0.5136, allocations: 27.34 kB / 0.7643 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0011/0.5147, allocations: 0.8687 MB / 0.7651 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001598/0.5149, allocations: 202.4 kB / 0.7653 GB, free: 10.45 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002459/0.5152, allocations: 312.8 kB / 0.7656 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009538/0.5161, allocations: 1.093 MB / 0.7667 GB, free: 9.875 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.5161, allocations: 0 / 0.7667 GB, free: 9.875 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.12e-07/0.5162, allocations: 3.938 kB / 0.7667 GB, free: 9.871 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.5162, allocations: 0 / 0.7667 GB, free: 9.871 MB / 0.545 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.001366/0.5175, allocations: 0.93 MB / 0.7676 GB, free: 9.211 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.5176, allocations: 7.406 kB / 0.7676 GB, free: 9.211 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/0.5187, allocations: 177.9 kB / 0.7678 GB, free: 9.141 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004762/0.5192, allocations: 418.4 kB / 0.7682 GB, free: 8.824 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.5192, allocations: 32.22 kB / 0.7682 GB, free: 8.824 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.568e-05/0.5192, allocations: 44.98 kB / 0.7683 GB, free: 8.824 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006983/0.5199, allocations: 0.4972 MB / 0.7687 GB, free: 8.656 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.52, allocations: 0 / 0.7687 GB, free: 8.656 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.138e-05/0.52, allocations: 21.38 kB / 0.7688 GB, free: 8.656 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.497e-05/0.52, allocations: 28.02 kB / 0.7688 GB, free: 8.645 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000585/0.5206, allocations: 373.6 kB / 0.7691 GB, free: 8.574 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002095/0.5227, allocations: 1.893 MB / 0.771 GB, free: 7.199 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004446/0.5232, allocations: 244.3 kB / 0.7712 GB, free: 7.145 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002098/0.5234, allocations: 112.7 kB / 0.7713 GB, free: 7.121 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000756/0.5242, allocations: 0.6911 MB / 0.772 GB, free: 6.34 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.5242, allocations: 35.94 kB / 0.772 GB, free: 6.301 MB / 0.545 GB Notification: Performance of pre-optimization done (n=26): time 1.202e-06/0.5242, allocations: 0 / 0.772 GB, free: 6.301 MB / 0.545 GB Notification: Performance of matching and sorting (n=26): time 0.0007353/0.525, allocations: 381.9 kB / 0.7724 GB, free: 6.188 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.525, allocations: 54.16 kB / 0.7725 GB, free: 6.125 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004911/0.5255, allocations: 0.5071 MB / 0.773 GB, free: 5.938 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.327e-05/0.5256, allocations: 35.02 kB / 0.773 GB, free: 5.906 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/0.5257, allocations: 268.3 kB / 0.7732 GB, free: 5.746 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.817e-05/0.5258, allocations: 94.44 kB / 0.7733 GB, free: 5.668 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.825e-05/0.5259, allocations: 64.28 kB / 0.7734 GB, free: 5.621 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.5261, allocations: 367.6 kB / 0.7737 GB, free: 5.266 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/0.5263, allocations: 103.5 kB / 0.7738 GB, free: 5.219 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/0.5265, allocations: 160.6 kB / 0.774 GB, free: 5.102 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004116/0.5269, allocations: 298.5 kB / 0.7743 GB, free: 4.91 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.5269, allocations: 0 / 0.7743 GB, free: 4.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005424/0.5275, allocations: 372.6 kB / 0.7746 GB, free: 4.723 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.5275, allocations: 5.031 kB / 0.7746 GB, free: 4.723 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.5275, allocations: 1.812 kB / 0.7746 GB, free: 4.723 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.5275, allocations: 10.95 kB / 0.7747 GB, free: 4.715 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002593/0.5278, allocations: 71.66 kB / 0.7747 GB, free: 4.699 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.5278, allocations: 2.562 kB / 0.7747 GB, free: 4.699 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000312/0.5281, allocations: 70.12 kB / 0.7748 GB, free: 4.652 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.032e-05/0.5282, allocations: 10.09 kB / 0.7748 GB, free: 4.652 MB / 0.545 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.0001806/0.5283, allocations: 180.9 kB / 0.775 GB, free: 4.496 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.581e-05/0.5284, allocations: 55.16 kB / 0.775 GB, free: 4.469 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005834/0.529, allocations: 330.9 kB / 0.7753 GB, free: 4.266 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.529, allocations: 1.844 kB / 0.7753 GB, free: 4.266 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.5291, allocations: 6.5 kB / 0.7753 GB, free: 4.262 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.5291, allocations: 0 / 0.7753 GB, free: 4.262 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/0.5301, allocations: 0.8664 MB / 0.7762 GB, free: 3.586 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.5301, allocations: 3.281 kB / 0.7762 GB, free: 3.586 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002332/0.5304, allocations: 54 kB / 0.7762 GB, free: 3.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.5304, allocations: 4.688 kB / 0.7763 GB, free: 3.57 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.5304, allocations: 6.688 kB / 0.7763 GB, free: 3.566 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.5304, allocations: 2.688 kB / 0.7763 GB, free: 3.566 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.5304, allocations: 3.375 kB / 0.7763 GB, free: 3.566 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007197/0.5312, allocations: 0.5689 MB / 0.7768 GB, free: 3.168 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001837/0.5313, allocations: 171.1 kB / 0.777 GB, free: 3.012 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.656e-05/0.5314, allocations: 6.094 kB / 0.777 GB, free: 3.008 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003662/0.5318, allocations: 37.44 kB / 0.777 GB, free: 2.988 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.933e-05/0.5319, allocations: 27.55 kB / 0.7771 GB, free: 2.969 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.859e-05/0.5319, allocations: 16.17 kB / 0.7771 GB, free: 2.965 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003336/0.5322, allocations: 375.7 kB / 0.7774 GB, free: 2.746 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5322, allocations: 0 / 0.7774 GB, free: 2.746 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004401/0.5327, allocations: 153.9 kB / 0.7776 GB, free: 2.719 MB / 0.545 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.0003663/0.5331, allocations: 175.4 kB / 0.7777 GB, free: 2.602 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004621/0.5335, allocations: 259.8 kB / 0.778 GB, free: 2.492 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.5336, allocations: 2.469 kB / 0.778 GB, free: 2.492 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002127/0.5338, allocations: 126 kB / 0.7781 GB, free: 2.438 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.535, allocations: 288.9 kB / 0.7784 GB, free: 2.309 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.5365, allocations: 1.215 MB / 0.7796 GB, free: 1.434 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.5368, allocations: 0.8533 MB / 0.7804 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003522/0.5372, allocations: 111.3 kB / 0.7805 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.504e-05/0.5373, allocations: 40.5 kB / 0.7805 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.5373, allocations: 3.938 kB / 0.7806 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of Templates: time 0.01316/0.5504, allocations: 10.06 MB / 0.7904 GB, free: 10.79 MB / 0.5606 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)