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.1708/0.1729, allocations: 80.83 MB / 0.5899 GB, free: 7.02 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.4915/0.6644, allocations: 171.5 MB / 0.7573 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003883/0.6683, allocations: 2.205 MB / 0.7595 GB, free: 12.94 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007073/0.6691, allocations: 17.31 kB / 0.7595 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.6702, allocations: 277.9 kB / 0.7597 GB, free: 12.8 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001979/0.6722, allocations: 0.7445 MB / 0.7605 GB, free: 12.45 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002369/0.6746, allocations: 0.8267 MB / 0.7613 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001628/0.6762, allocations: 1.31 MB / 0.7626 GB, free: 11.82 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005206/0.6768, allocations: 392.6 kB / 0.7629 GB, free: 11.69 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001123/0.6779, allocations: 0.6485 MB / 0.7636 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004649/0.6784, allocations: 443.1 kB / 0.764 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.48e-05/0.6785, allocations: 59.83 kB / 0.764 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001347/0.6798, allocations: 0.789 MB / 0.7648 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001791/0.68, allocations: 226 kB / 0.765 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002743/0.6803, allocations: 329.1 kB / 0.7653 GB, free: 10.92 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001171/0.6815, allocations: 1.119 MB / 0.7664 GB, free: 10.45 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.6815, allocations: 0 / 0.7664 GB, free: 10.45 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.282e-06/0.6815, allocations: 0 / 0.7664 GB, free: 10.45 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.396e-05/0.6815, allocations: 2.688 kB / 0.7664 GB, free: 10.45 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.001555/0.6831, allocations: 0.9386 MB / 0.7674 GB, free: 9.785 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.6831, allocations: 17.45 kB / 0.7674 GB, free: 9.777 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001179/0.6843, allocations: 172.5 kB / 0.7675 GB, free: 9.707 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005202/0.6848, allocations: 417.5 kB / 0.7679 GB, free: 9.395 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.6849, allocations: 33.5 kB / 0.768 GB, free: 9.395 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.227e-05/0.6849, allocations: 42.88 kB / 0.768 GB, free: 9.395 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007926/0.6857, allocations: 0.4987 MB / 0.7685 GB, free: 9.227 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.6858, allocations: 7.922 kB / 0.7685 GB, free: 9.219 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.756e-05/0.6858, allocations: 18.53 kB / 0.7685 GB, free: 9.219 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.138e-05/0.6858, allocations: 12.31 kB / 0.7685 GB, free: 9.219 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006168/0.6865, allocations: 383.7 kB / 0.7689 GB, free: 9.145 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002173/0.6886, allocations: 1.892 MB / 0.7707 GB, free: 7.77 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004219/0.6891, allocations: 237.3 kB / 0.771 GB, free: 7.715 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002072/0.6893, allocations: 120.5 kB / 0.7711 GB, free: 7.688 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007633/0.6901, allocations: 0.6836 MB / 0.7718 GB, free: 6.91 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.6901, allocations: 40.5 kB / 0.7718 GB, free: 6.867 MB / 0.545 GB Notification: Performance of pre-optimization done (n=26): time 1.894e-06/0.6901, allocations: 3.938 kB / 0.7718 GB, free: 6.863 MB / 0.545 GB Notification: Performance of matching and sorting (n=26): time 0.0007305/0.6909, allocations: 376.4 kB / 0.7722 GB, free: 6.758 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.6909, allocations: 58.11 kB / 0.7722 GB, free: 6.691 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004794/0.6914, allocations: 0.5112 MB / 0.7727 GB, free: 6.477 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.685e-05/0.6914, allocations: 34.98 kB / 0.7727 GB, free: 6.441 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/0.6916, allocations: 267.6 kB / 0.773 GB, free: 6.203 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.279e-05/0.6917, allocations: 91.59 kB / 0.7731 GB, free: 6.125 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.442e-05/0.6918, allocations: 62.78 kB / 0.7731 GB, free: 6.082 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.6919, allocations: 364.9 kB / 0.7735 GB, free: 5.727 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002064/0.6921, allocations: 103.7 kB / 0.7736 GB, free: 5.68 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002425/0.6924, allocations: 169.2 kB / 0.7738 GB, free: 5.559 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004297/0.6928, allocations: 294.7 kB / 0.774 GB, free: 5.367 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.6928, allocations: 2.906 kB / 0.774 GB, free: 5.367 MB / 0.545 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005829/0.6934, allocations: 365.6 kB / 0.7744 GB, free: 5.184 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.6935, allocations: 5.781 kB / 0.7744 GB, free: 5.184 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.6935, allocations: 6.031 kB / 0.7744 GB, free: 5.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.6935, allocations: 6.938 kB / 0.7744 GB, free: 5.176 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002834/0.6938, allocations: 73.56 kB / 0.7745 GB, free: 5.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/0.6938, allocations: 2.469 kB / 0.7745 GB, free: 5.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003483/0.6942, allocations: 66.31 kB / 0.7745 GB, free: 5.117 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.055e-05/0.6942, allocations: 7.406 kB / 0.7745 GB, free: 5.117 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.0001889/0.6944, allocations: 187.4 kB / 0.7747 GB, free: 4.957 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.963e-05/0.6945, allocations: 53.31 kB / 0.7748 GB, free: 4.93 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005902/0.6951, allocations: 327.8 kB / 0.7751 GB, free: 4.73 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.6951, allocations: 3 kB / 0.7751 GB, free: 4.73 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.6951, allocations: 0 / 0.7751 GB, free: 4.73 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.6951, allocations: 0 / 0.7751 GB, free: 4.73 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/0.6962, allocations: 0.8649 MB / 0.7759 GB, free: 4.055 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.6963, allocations: 2.281 kB / 0.7759 GB, free: 4.055 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002437/0.6965, allocations: 55.88 kB / 0.776 GB, free: 4.039 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.339e-06/0.6965, allocations: 7.062 kB / 0.776 GB, free: 4.035 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.229e-05/0.6966, allocations: 8.875 kB / 0.776 GB, free: 4.031 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.6966, allocations: 2.094 kB / 0.776 GB, free: 4.031 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.6966, allocations: 8.25 kB / 0.776 GB, free: 4.027 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007913/0.6974, allocations: 0.5638 MB / 0.7766 GB, free: 3.637 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002174/0.6976, allocations: 164.5 kB / 0.7767 GB, free: 3.484 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.711e-05/0.6977, allocations: 16.61 kB / 0.7767 GB, free: 3.473 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000395/0.6981, allocations: 35.33 kB / 0.7768 GB, free: 3.453 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.532e-05/0.6982, allocations: 29.97 kB / 0.7768 GB, free: 3.434 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.84e-05/0.6982, allocations: 20.23 kB / 0.7768 GB, free: 3.426 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003902/0.6986, allocations: 368.5 kB / 0.7772 GB, free: 3.211 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6986, allocations: 0 / 0.7772 GB, free: 3.211 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005132/0.6991, allocations: 150.2 kB / 0.7773 GB, free: 3.188 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.0004367/0.6996, allocations: 184.8 kB / 0.7775 GB, free: 3.062 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005685/0.7002, allocations: 270.3 kB / 0.7778 GB, free: 2.945 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.7002, allocations: 0 / 0.7778 GB, free: 2.945 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002261/0.7004, allocations: 129.5 kB / 0.7779 GB, free: 2.891 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/0.7018, allocations: 294.1 kB / 0.7782 GB, free: 2.746 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/0.7035, allocations: 1.215 MB / 0.7793 GB, free: 1.867 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003851/0.7039, allocations: 0.858 MB / 0.7802 GB, free: 1.09 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004033/0.7043, allocations: 99.98 kB / 0.7803 GB, free: 1.047 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.303e-05/0.7044, allocations: 44 kB / 0.7803 GB, free: 1.035 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.7044, allocations: 0 / 0.7803 GB, free: 1.035 MB / 0.545 GB Notification: Performance of Templates: time 0.01764/0.722, allocations: 10.43 MB / 0.7905 GB, free: 10.86 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)