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.2024/0.2035, allocations: 82.22 MB / 0.5935 GB, free: 5.965 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.5693/0.7728, allocations: 158 MB / 0.7477 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003674/0.7766, allocations: 2.09 MB / 0.7498 GB, free: 15.11 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005266/0.7771, allocations: 10.53 kB / 0.7498 GB, free: 15.1 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008387/0.778, allocations: 213.8 kB / 0.75 GB, free: 15.03 MB / 0.545 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.001865/0.7798, allocations: 0.6189 MB / 0.7506 GB, free: 14.87 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002092/0.7819, allocations: 0.6578 MB / 0.7512 GB, free: 14.78 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00208/0.784, allocations: 1.539 MB / 0.7527 GB, free: 14.39 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005339/0.7846, allocations: 313.5 kB / 0.753 GB, free: 14.26 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00119/0.7858, allocations: 0.561 MB / 0.7536 GB, free: 14.07 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005203/0.7863, allocations: 418.8 kB / 0.754 GB, free: 13.92 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.526e-05/0.7864, allocations: 24.75 kB / 0.754 GB, free: 13.92 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001147/0.7875, allocations: 430.5 kB / 0.7544 GB, free: 13.79 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002007/0.7878, allocations: 201.7 kB / 0.7546 GB, free: 13.71 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001579/0.7879, allocations: 141.3 kB / 0.7547 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007679/0.7887, allocations: 0.7106 MB / 0.7554 GB, free: 13.31 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.748e-06/0.7887, allocations: 0 / 0.7554 GB, free: 13.31 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.124e-06/0.7887, allocations: 4 kB / 0.7554 GB, free: 13.3 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.7887, allocations: 0 / 0.7554 GB, free: 13.3 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.00135/0.7901, allocations: 0.8272 MB / 0.7562 GB, free: 12.67 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.7901, allocations: 8 kB / 0.7562 GB, free: 12.67 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/0.7913, allocations: 176.1 kB / 0.7564 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005516/0.7919, allocations: 404.5 kB / 0.7568 GB, free: 12.3 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.692e-05/0.7919, allocations: 35.27 kB / 0.7568 GB, free: 12.3 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.103e-05/0.792, allocations: 45.02 kB / 0.7569 GB, free: 12.3 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007852/0.7928, allocations: 0.5037 MB / 0.7574 GB, free: 12.13 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.7928, allocations: 4 kB / 0.7574 GB, free: 12.12 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.055e-05/0.7928, allocations: 17.25 kB / 0.7574 GB, free: 12.12 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.882e-05/0.7929, allocations: 17.05 kB / 0.7574 GB, free: 12.12 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006329/0.7935, allocations: 386.3 kB / 0.7578 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002197/0.7957, allocations: 1.894 MB / 0.7596 GB, free: 10.68 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004764/0.7962, allocations: 244 kB / 0.7599 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/0.7964, allocations: 123.5 kB / 0.76 GB, free: 10.59 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007851/0.7972, allocations: 0.7051 MB / 0.7607 GB, free: 9.809 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.7973, allocations: 37 kB / 0.7607 GB, free: 9.77 MB / 0.545 GB Notification: Performance of pre-optimization done (n=26): time 2.034e-06/0.7973, allocations: 4 kB / 0.7607 GB, free: 9.766 MB / 0.545 GB Notification: Performance of matching and sorting (n=26): time 0.0007303/0.798, allocations: 384.2 kB / 0.7611 GB, free: 9.664 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.7981, allocations: 53.81 kB / 0.7611 GB, free: 9.602 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004964/0.7986, allocations: 0.5171 MB / 0.7616 GB, free: 9.398 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.089e-05/0.7986, allocations: 34.98 kB / 0.7617 GB, free: 9.367 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.7988, allocations: 258.5 kB / 0.7619 GB, free: 9.223 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.881e-05/0.7989, allocations: 93.47 kB / 0.762 GB, free: 9.156 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.397e-05/0.7989, allocations: 5.5 kB / 0.762 GB, free: 9.156 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002113/0.7991, allocations: 365.3 kB / 0.7623 GB, free: 8.824 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/0.7993, allocations: 108 kB / 0.7624 GB, free: 8.805 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002254/0.7995, allocations: 167.6 kB / 0.7626 GB, free: 8.723 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000222/0.7998, allocations: 138.1 kB / 0.7627 GB, free: 8.699 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.7998, allocations: 2.125 kB / 0.7627 GB, free: 8.699 MB / 0.545 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005932/0.8004, allocations: 382.3 kB / 0.7631 GB, free: 8.59 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.8004, allocations: 7.859 kB / 0.7631 GB, free: 8.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.8004, allocations: 2.812 kB / 0.7631 GB, free: 8.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.8004, allocations: 1.781 kB / 0.7631 GB, free: 8.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002695/0.8007, allocations: 73.53 kB / 0.7632 GB, free: 8.578 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.8007, allocations: 9.266 kB / 0.7632 GB, free: 8.574 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003252/0.8011, allocations: 66.48 kB / 0.7633 GB, free: 8.535 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.189e-05/0.8011, allocations: 14.44 kB / 0.7633 GB, free: 8.535 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001885/0.8013, allocations: 183.4 kB / 0.7634 GB, free: 8.406 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.399e-05/0.8014, allocations: 55 kB / 0.7635 GB, free: 8.379 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005597/0.8019, allocations: 326.9 kB / 0.7638 GB, free: 8.277 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.802, allocations: 3.844 kB / 0.7638 GB, free: 8.277 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.802, allocations: 0 / 0.7638 GB, free: 8.277 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.802, allocations: 0 / 0.7638 GB, free: 8.277 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/0.8031, allocations: 0.8886 MB / 0.7647 GB, free: 7.762 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.8031, allocations: 2.438 kB / 0.7647 GB, free: 7.762 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000237/0.8034, allocations: 59.78 kB / 0.7647 GB, free: 7.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.533e-06/0.8034, allocations: 3.344 kB / 0.7647 GB, free: 7.75 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.8034, allocations: 7.812 kB / 0.7648 GB, free: 7.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.8034, allocations: 2.125 kB / 0.7648 GB, free: 7.75 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.002e-06/0.8034, allocations: 10.89 kB / 0.7648 GB, free: 7.742 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008288/0.8043, allocations: 0.5742 MB / 0.7653 GB, free: 7.469 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002698/0.8045, allocations: 165.7 kB / 0.7655 GB, free: 7.332 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.069e-05/0.8046, allocations: 9.25 kB / 0.7655 GB, free: 7.332 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003627/0.805, allocations: 39.09 kB / 0.7655 GB, free: 7.316 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.827e-05/0.8051, allocations: 26.7 kB / 0.7656 GB, free: 7.301 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.49e-05/0.8051, allocations: 17.75 kB / 0.7656 GB, free: 7.297 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003897/0.8055, allocations: 372.5 kB / 0.7659 GB, free: 7.16 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8055, allocations: 0 / 0.7659 GB, free: 7.16 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005397/0.8061, allocations: 156.4 kB / 0.7661 GB, free: 7.141 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 (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.0004528/0.8065, allocations: 189.6 kB / 0.7663 GB, free: 7.016 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005284/0.8071, allocations: 259.5 kB / 0.7665 GB, free: 6.977 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-05/0.8071, allocations: 4.312 kB / 0.7665 GB, free: 6.973 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002273/0.8073, allocations: 130.6 kB / 0.7666 GB, free: 6.949 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001348/0.8087, allocations: 292.3 kB / 0.7669 GB, free: 6.859 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/0.8107, allocations: 1.272 MB / 0.7682 GB, free: 5.996 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005181/0.8112, allocations: 0.859 MB / 0.769 GB, free: 5.227 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004703/0.8117, allocations: 105.6 kB / 0.7691 GB, free: 5.18 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.8118, allocations: 41.8 kB / 0.7691 GB, free: 5.168 MB / 0.545 GB Notification: Performance of SimCode: time 7.02e-07/0.8118, allocations: 0 / 0.7691 GB, free: 5.168 MB / 0.545 GB Notification: Performance of Templates: time 0.01578/0.8276, allocations: 9.682 MB / 0.7786 GB, free: 436 kB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.Orifice.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: