Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [/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.1851/0.187, allocations: 80.83 MB / 0.6706 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.7303/0.9174, allocations: 193.5 MB / 0.8595 GB, free: 6.32 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009343/0.9268, allocations: 4.225 MB / 0.8637 GB, free: 2.84 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002308/0.9292, allocations: 40.94 kB / 0.8637 GB, free: 2.824 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002739/0.932, allocations: 0.9218 MB / 0.8646 GB, free: 2.059 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005546/0.9376, allocations: 1.683 MB / 0.8662 GB, free: 0.7266 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004014/0.9416, allocations: 1.364 MB / 0.8676 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006188/0.9478, allocations: 3.569 MB / 0.8711 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001954/0.9498, allocations: 1.096 MB / 0.8721 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005198/0.955, allocations: 1.603 MB / 0.8737 GB, free: 10.19 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002851/0.9579, allocations: 1.115 MB / 0.8748 GB, free: 9.082 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000434/0.9583, allocations: 152 kB / 0.8749 GB, free: 8.934 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003018/0.9613, allocations: 1.084 MB / 0.876 GB, free: 7.848 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0008461/0.9622, allocations: 0.522 MB / 0.8765 GB, free: 7.324 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001314/0.9635, allocations: 0.809 MB / 0.8773 GB, free: 6.512 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004552/0.9681, allocations: 2.764 MB / 0.88 GB, free: 3.746 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 9.598e-06/0.9681, allocations: 4 kB / 0.88 GB, free: 3.742 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.975e-06/0.9681, allocations: 0 / 0.88 GB, free: 3.742 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.78e-05/0.9682, allocations: 4 kB / 0.88 GB, free: 3.738 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 278 * Number of variables: 278 Notification: Performance of Generate backend data structure: time 0.005554/0.9738, allocations: 1.879 MB / 0.8818 GB, free: 1.797 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/0.9738, allocations: 8.031 kB / 0.8818 GB, free: 1.789 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003033/0.9769, allocations: 0.5329 MB / 0.8824 GB, free: 1.254 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00178/0.9787, allocations: 0.9877 MB / 0.8833 GB, free: 224 kB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.463e-05/0.9788, allocations: 86.11 kB / 0.8834 GB, free: 136 kB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001776/0.979, allocations: 111.9 kB / 0.8835 GB, free: 24 kB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003394/0.9824, allocations: 1.69 MB / 0.8852 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.987e-05/0.9824, allocations: 15.86 kB / 0.8852 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001618/0.9826, allocations: 48 kB / 0.8852 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.241e-05/0.9827, allocations: 50 kB / 0.8853 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003911/0.9866, allocations: 1.592 MB / 0.8868 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009654/0.9962, allocations: 6.045 MB / 0.8927 GB, free: 6.254 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001782/0.9981, allocations: 0.6405 MB / 0.8934 GB, free: 5.605 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008036/0.9989, allocations: 381.8 kB / 0.8937 GB, free: 5.23 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.729e-05/0.9989, allocations: 4.375 kB / 0.8937 GB, free: 5.227 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001256/1, allocations: 0.7219 MB / 0.8944 GB, free: 4.391 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=51): time 2.215e-06/1, allocations: 0 / 0.8944 GB, free: 4.391 MB / 0.6544 GB Notification: Performance of matching and sorting (n=51): time 0.002917/1.003, allocations: 1.17 MB / 0.8956 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00049/1.004, allocations: 0.9309 MB / 0.8965 GB, free: 2.059 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002649/1.006, allocations: 1.517 MB / 0.898 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001778/1.007, allocations: 41.7 kB / 0.898 GB, free: 492 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005553/1.007, allocations: 0.6213 MB / 0.8986 GB, free: 15.85 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001877/1.007, allocations: 177.6 kB / 0.8988 GB, free: 15.67 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004197/1.008, allocations: 246.3 kB / 0.899 GB, free: 15.43 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001519/1.008, allocations: 345.9 kB / 0.8993 GB, free: 15.08 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001368/1.009, allocations: 0.4899 MB / 0.8998 GB, free: 14.59 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002014/1.011, allocations: 1.018 MB / 0.9008 GB, free: 13.36 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00256/1.014, allocations: 1.215 MB / 0.902 GB, free: 12.01 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/1.014, allocations: 0 / 0.902 GB, free: 12.01 MB / 0.67 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.004228/1.018, allocations: 1.498 MB / 0.9035 GB, free: 10.5 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.3e-05/1.018, allocations: 41.69 kB / 0.9035 GB, free: 10.45 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.527e-05/1.018, allocations: 8 kB / 0.9035 GB, free: 10.44 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.506e-05/1.018, allocations: 16.81 kB / 0.9035 GB, free: 10.43 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/1.02, allocations: 259.6 kB / 0.9038 GB, free: 10.17 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.799e-05/1.02, allocations: 19.92 kB / 0.9038 GB, free: 10.15 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002785/1.022, allocations: 330 kB / 0.9041 GB, free: 9.828 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001797/1.023, allocations: 47.91 kB / 0.9042 GB, free: 9.781 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 1 * 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.001346/1.024, allocations: 407.1 kB / 0.9045 GB, free: 9.367 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006614/1.025, allocations: 146.2 kB / 0.9047 GB, free: 9.223 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004611/1.025, allocations: 148.8 kB / 0.9048 GB, free: 9.07 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.894e-06/1.025, allocations: 4 kB / 0.9048 GB, free: 9.066 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.438e-05/1.025, allocations: 4 kB / 0.9048 GB, free: 9.062 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.976e-06/1.025, allocations: 3.984 kB / 0.9048 GB, free: 9.059 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005159/1.03, allocations: 3.283 MB / 0.908 GB, free: 5.609 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-05/1.03, allocations: 8 kB / 0.9081 GB, free: 5.602 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006212/1.031, allocations: 120.3 kB / 0.9082 GB, free: 5.484 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.184e-05/1.031, allocations: 8 kB / 0.9082 GB, free: 5.477 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.169e-05/1.031, allocations: 16 kB / 0.9082 GB, free: 5.461 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.524e-05/1.031, allocations: 15.92 kB / 0.9082 GB, free: 5.445 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.267e-06/1.031, allocations: 11.94 kB / 0.9082 GB, free: 5.434 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00216/1.033, allocations: 1.195 MB / 0.9094 GB, free: 4.125 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007305/1.034, allocations: 383 kB / 0.9098 GB, free: 3.73 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002093/1.034, allocations: 27.98 kB / 0.9098 GB, free: 3.703 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001267/1.036, allocations: 115.8 kB / 0.9099 GB, free: 3.59 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/1.036, allocations: 51.77 kB / 0.9099 GB, free: 3.539 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.421e-05/1.036, allocations: 27.98 kB / 0.91 GB, free: 3.512 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001798/1.037, allocations: 1.069 MB / 0.911 GB, free: 2.441 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.01e-07/1.038, allocations: 0 / 0.911 GB, free: 2.441 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001305/1.039, allocations: 360.1 kB / 0.9114 GB, free: 2.09 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * 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.0006231/1.039, allocations: 223.1 kB / 0.9116 GB, free: 1.871 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002679/1.042, allocations: 1.138 MB / 0.9127 GB, free: 0.7227 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/1.042, allocations: 192 / 0.9127 GB, free: 0.7227 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008626/1.043, allocations: 484.6 kB / 0.9131 GB, free: 244 kB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003508/1.047, allocations: 0.7477 MB / 0.9139 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004088/1.051, allocations: 2.239 MB / 0.9161 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008723/1.052, allocations: 1.128 MB / 0.9172 GB, free: 11.98 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001309/1.053, allocations: 330.4 kB / 0.9175 GB, free: 11.65 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002911/1.053, allocations: 99.41 kB / 0.9176 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of SimCode: time 1.253e-06/1.053, allocations: 0 / 0.9176 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of Templates: time 0.04937/1.103, allocations: 28.98 MB / 0.9459 GB, free: 14.77 MB / 0.7169 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)