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.1595/0.1602, allocations: 82.22 MB / 0.5941 GB, free: 5.539 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6408/0.8011, allocations: 188.6 MB / 0.7783 GB, free: 10.53 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008258/0.8094, allocations: 4.217 MB / 0.7824 GB, free: 8.48 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00206/0.8115, allocations: 32.72 kB / 0.7824 GB, free: 8.465 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002709/0.8142, allocations: 0.7871 MB / 0.7832 GB, free: 7.902 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005182/0.8194, allocations: 1.598 MB / 0.7848 GB, free: 6.918 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003452/0.8229, allocations: 1.231 MB / 0.786 GB, free: 6.008 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.006525/0.8294, allocations: 4.702 MB / 0.7906 GB, free: 3.453 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001965/0.8314, allocations: 0.8781 MB / 0.7914 GB, free: 2.91 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003311/0.8347, allocations: 1.329 MB / 0.7927 GB, free: 2.207 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002581/0.8373, allocations: 1.116 MB / 0.7938 GB, free: 1.59 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.00025/0.8376, allocations: 57.25 kB / 0.7939 GB, free: 1.59 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002692/0.8403, allocations: 1.048 MB / 0.7949 GB, free: 1.012 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005416/0.8408, allocations: 437.9 kB / 0.7953 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001066/0.8419, allocations: 0.7343 MB / 0.796 GB, free: 264 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003328/0.8453, allocations: 2.627 MB / 0.7986 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.8453, allocations: 0 / 0.7986 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.745e-06/0.8453, allocations: 4 kB / 0.7986 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.922e-05/0.8453, allocations: 0 / 0.7986 GB, free: 14.45 MB / 0.5606 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.004419/0.8497, allocations: 1.559 MB / 0.8001 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.8498, allocations: 8.031 kB / 0.8001 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003032/0.8528, allocations: 0.6025 MB / 0.8007 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001514/0.8544, allocations: 0.9353 MB / 0.8016 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001204/0.8556, allocations: 348.1 kB / 0.8019 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001864/0.8558, allocations: 112.5 kB / 0.8021 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003392/0.8592, allocations: 1.737 MB / 0.8037 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/0.8592, allocations: 3.938 kB / 0.8038 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001391/0.8594, allocations: 52.59 kB / 0.8038 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.476e-05/0.8594, allocations: 55.3 kB / 0.8039 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004208/0.8637, allocations: 1.684 MB / 0.8055 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0115/0.8752, allocations: 6.142 MB / 0.8115 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001806/0.877, allocations: 0.6562 MB / 0.8121 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007793/0.8779, allocations: 377.9 kB / 0.8125 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.469e-05/0.8779, allocations: 12.36 kB / 0.8125 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001276/0.8792, allocations: 0.7297 MB / 0.8132 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=51): time 3.176e-06/0.8792, allocations: 0 / 0.8132 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of matching and sorting (n=51): time 0.00302/0.8823, allocations: 1.198 MB / 0.8144 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003872/0.8827, allocations: 0.9306 MB / 0.8153 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00297/0.8856, allocations: 1.559 MB / 0.8168 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001516/0.8858, allocations: 41.7 kB / 0.8169 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005818/0.8864, allocations: 0.609 MB / 0.8175 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001896/0.8866, allocations: 181.5 kB / 0.8176 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/0.8867, allocations: 73.67 kB / 0.8177 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.8869, allocations: 341.9 kB / 0.818 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0015/0.8884, allocations: 0.5407 MB / 0.8186 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00199/0.8904, allocations: 1.066 MB / 0.8196 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00253/0.8929, allocations: 1.27 MB / 0.8208 GB, free: 8.785 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.18e-05/0.893, allocations: 4 kB / 0.8208 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.004266/0.8972, allocations: 1.585 MB / 0.8224 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.807e-05/0.8974, allocations: 45.69 kB / 0.8224 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.703e-05/0.8974, allocations: 8 kB / 0.8224 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.566e-05/0.8974, allocations: 16 kB / 0.8225 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/0.8987, allocations: 275.7 kB / 0.8227 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.949e-05/0.8988, allocations: 23.92 kB / 0.8227 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002993/0.9018, allocations: 400.7 kB / 0.8231 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001679/0.902, allocations: 51.97 kB / 0.8232 GB, free: 6.371 MB / 0.5762 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.001152/0.9032, allocations: 411.1 kB / 0.8236 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005551/0.9037, allocations: 138.4 kB / 0.8237 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005726/0.9043, allocations: 148.8 kB / 0.8238 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.9043, allocations: 4 kB / 0.8238 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.616e-05/0.9044, allocations: 4 kB / 0.8238 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.9044, allocations: 0 / 0.8238 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005624/0.91, allocations: 3.299 MB / 0.8271 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.59e-05/0.91, allocations: 12.06 kB / 0.8271 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005872/0.9106, allocations: 115.8 kB / 0.8272 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.221e-05/0.9107, allocations: 8 kB / 0.8272 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.401e-05/0.9107, allocations: 27.98 kB / 0.8272 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.217e-05/0.9107, allocations: 19.92 kB / 0.8272 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/0.9108, allocations: 11.94 kB / 0.8273 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002349/0.9131, allocations: 1.222 MB / 0.8284 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008958/0.914, allocations: 379.2 kB / 0.8288 GB, free: 284 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004982/0.9145, allocations: 24 kB / 0.8288 GB, free: 260 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001573/0.9161, allocations: 131.9 kB / 0.829 GB, free: 128 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.9162, allocations: 51.69 kB / 0.829 GB, free: 76 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.474e-05/0.9163, allocations: 27.98 kB / 0.829 GB, free: 48 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002352/0.9187, allocations: 1.108 MB / 0.8301 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9187, allocations: 0 / 0.8301 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001671/0.9204, allocations: 364.1 kB / 0.8305 GB, free: 14.58 MB / 0.5919 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.0006569/0.921, allocations: 248.7 kB / 0.8307 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003068/0.9241, allocations: 1.173 MB / 0.8318 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.279e-05/0.9241, allocations: 8.25 kB / 0.8319 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009554/0.9251, allocations: 484.6 kB / 0.8323 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005615/0.9307, allocations: 0.7154 MB / 0.833 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005055/0.9358, allocations: 2.654 MB / 0.8356 GB, free: 9.195 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001106/0.937, allocations: 1.136 MB / 0.8367 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002024/0.939, allocations: 330.4 kB / 0.837 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004113/0.9395, allocations: 99.41 kB / 0.8371 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of SimCode: time 1.282e-06/0.9395, allocations: 0 / 0.8371 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of Templates: time 0.05053/0.99, allocations: 27.59 MB / 0.8641 GB, free: 12.31 MB / 0.6231 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: