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.2709/0.2728, allocations: 80.81 MB / 0.5904 GB, free: 22.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.4144/0.6873, allocations: 173.8 MB / 0.7601 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002694/0.69, allocations: 2.216 MB / 0.7623 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002545/0.6903, allocations: 17.14 kB / 0.7623 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000759/0.6911, allocations: 313.7 kB / 0.7626 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001375/0.6925, allocations: 0.7948 MB / 0.7634 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001834/0.6943, allocations: 0.9 MB / 0.7642 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001372/0.6957, allocations: 1.295 MB / 0.7655 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005085/0.6962, allocations: 413 kB / 0.7659 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008478/0.6971, allocations: 0.6328 MB / 0.7665 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004496/0.6975, allocations: 418.9 kB / 0.7669 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001146/0.6977, allocations: 52.38 kB / 0.767 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001236/0.6989, allocations: 0.77 MB / 0.7677 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000202/0.6991, allocations: 226 kB / 0.7679 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003721/0.6995, allocations: 330.8 kB / 0.7682 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001509/0.701, allocations: 1.072 MB / 0.7693 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.701, allocations: 3.875 kB / 0.7693 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.232e-06/0.701, allocations: 0.8125 kB / 0.7693 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.701, allocations: 0 / 0.7693 GB, free: 1.57 MB / 0.5762 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.001715/0.7028, allocations: 0.927 MB / 0.7702 GB, free: 17 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.7028, allocations: 12.06 kB / 0.7702 GB, free: 17 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001164/0.704, allocations: 178.6 kB / 0.7704 GB, free: 16.97 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005458/0.7045, allocations: 413.8 kB / 0.7708 GB, free: 16.72 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.401e-05/0.7046, allocations: 37.23 kB / 0.7708 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.42e-05/0.7047, allocations: 42.53 kB / 0.7708 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007073/0.7054, allocations: 0.5032 MB / 0.7713 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.7054, allocations: 0.9375 kB / 0.7713 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.427e-05/0.7055, allocations: 17.56 kB / 0.7714 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.128e-05/0.7055, allocations: 19.91 kB / 0.7714 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005913/0.7061, allocations: 377 kB / 0.7717 GB, free: 16.63 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001933/0.708, allocations: 1.905 MB / 0.7736 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003935/0.7084, allocations: 239 kB / 0.7738 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.7086, allocations: 116 kB / 0.7739 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006784/0.7093, allocations: 0.6936 MB / 0.7746 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.7093, allocations: 44.39 kB / 0.7747 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=26): time 1.723e-06/0.7093, allocations: 0 / 0.7747 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of matching and sorting (n=26): time 0.0006865/0.71, allocations: 375.5 kB / 0.775 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/0.7101, allocations: 55.03 kB / 0.7751 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000478/0.7106, allocations: 0.5094 MB / 0.7756 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.646e-05/0.7106, allocations: 36.08 kB / 0.7756 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.7107, allocations: 257.4 kB / 0.7758 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.617e-05/0.7108, allocations: 99.92 kB / 0.7759 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.79e-05/0.7109, allocations: 61.97 kB / 0.776 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.711, allocations: 360.8 kB / 0.7763 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002277/0.7113, allocations: 104 kB / 0.7764 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002332/0.7115, allocations: 172 kB / 0.7766 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004201/0.7119, allocations: 295.8 kB / 0.7769 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.712, allocations: 1.188 kB / 0.7769 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005558/0.7125, allocations: 366.7 kB / 0.7772 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.7125, allocations: 9 kB / 0.7772 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.7125, allocations: 2.625 kB / 0.7772 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.7126, allocations: 3.281 kB / 0.7773 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002569/0.7128, allocations: 74.77 kB / 0.7773 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.7128, allocations: 8.188 kB / 0.7773 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002678/0.7131, allocations: 45.34 kB / 0.7774 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.7131, allocations: 14.81 kB / 0.7774 GB, free: 13.7 MB / 0.5919 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.0001608/0.7133, allocations: 181 kB / 0.7776 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.027e-05/0.7134, allocations: 55.67 kB / 0.7776 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005171/0.7139, allocations: 320.8 kB / 0.7779 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.7139, allocations: 3.781 kB / 0.7779 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.7139, allocations: 4 kB / 0.7779 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.714, allocations: 2.625 kB / 0.7779 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009564/0.7149, allocations: 0.8832 MB / 0.7788 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.7149, allocations: 0 / 0.7788 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002211/0.7152, allocations: 53.38 kB / 0.7788 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.7152, allocations: 7.938 kB / 0.7789 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.7152, allocations: 7.828 kB / 0.7789 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.7152, allocations: 6.375 kB / 0.7789 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.7152, allocations: 3.281 kB / 0.7789 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006733/0.7159, allocations: 0.5603 MB / 0.7794 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001656/0.7161, allocations: 170.4 kB / 0.7796 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.774e-05/0.7161, allocations: 7 kB / 0.7796 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003381/0.7165, allocations: 23.84 kB / 0.7796 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.412e-05/0.7165, allocations: 18.3 kB / 0.7796 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.615e-05/0.7166, allocations: 17.72 kB / 0.7796 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002958/0.7169, allocations: 379 kB / 0.78 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6.51e-07/0.7169, allocations: 0 / 0.78 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004343/0.7173, allocations: 161.7 kB / 0.7802 GB, free: 12.7 MB / 0.5919 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.0003409/0.7177, allocations: 172.4 kB / 0.7803 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004497/0.7181, allocations: 265.8 kB / 0.7806 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.7181, allocations: 6.656 kB / 0.7806 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001888/0.7183, allocations: 129.1 kB / 0.7807 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/0.7196, allocations: 306 kB / 0.781 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.721, allocations: 1.048 MB / 0.782 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.7214, allocations: 0.862 MB / 0.7829 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003401/0.7217, allocations: 104.4 kB / 0.783 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.045e-05/0.7218, allocations: 46.44 kB / 0.783 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of SimCode: time 2.4e-07/0.7218, allocations: 0 / 0.783 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of Templates: time 0.01376/0.7356, allocations: 10.52 MB / 0.7933 GB, free: 10.87 MB / 0.5919 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)