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/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7031/0.7031, allocations: 132.3 MB / 144.9 MB, free: 10.54 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001018/0.001018, allocations: 177.2 kB / 176.9 MB, free: 2.301 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.274/1.274, allocations: 170.5 MB / 379.3 MB, free: 11.84 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001504/0.001504, allocations: 116.3 kB / 450 MB, free: 5.844 MB / 346.7 MB [/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.4598/0.4598, allocations: 73.39 MB / 0.6736 GB, free: 47.7 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.829/6.289, allocations: 2.368 GB / 3.042 GB, free: 170.5 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/6.289, allocations: 84.16 kB / 3.042 GB, free: 170.5 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.919/8.208, allocations: 0.6151 GB / 3.657 GB, free: 60.02 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.282e-06/8.208, allocations: 2.531 kB / 3.657 GB, free: 60.02 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.477e-05/8.208, allocations: 39.98 kB / 3.657 GB, free: 59.98 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.003606/8.212, allocations: 1.553 MB / 3.658 GB, free: 58.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/8.212, allocations: 12.03 kB / 3.658 GB, free: 58.37 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002433/8.214, allocations: 0.5253 MB / 3.659 GB, free: 57.84 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/8.215, allocations: 0.9337 MB / 3.66 GB, free: 56.86 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001098/8.217, allocations: 353.4 kB / 3.66 GB, free: 56.52 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/8.217, allocations: 100 kB / 3.66 GB, free: 56.42 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001985/8.219, allocations: 1.506 MB / 3.662 GB, free: 54.78 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/8.219, allocations: 3.938 kB / 3.662 GB, free: 54.77 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001255/8.219, allocations: 52 kB / 3.662 GB, free: 54.72 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.437e-05/8.219, allocations: 49.98 kB / 3.662 GB, free: 54.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001596/8.221, allocations: 1.206 MB / 3.663 GB, free: 53.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006537/8.227, allocations: 6.185 MB / 3.669 GB, free: 47.1 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000875/8.228, allocations: 0.545 MB / 3.67 GB, free: 46.54 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003513/8.228, allocations: 316.2 kB / 3.67 GB, free: 46.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.958e-05/8.228, allocations: 8 kB / 3.67 GB, free: 46.22 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000645/8.229, allocations: 0.6577 MB / 3.671 GB, free: 45.44 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=49): time 2.806e-06/8.229, allocations: 0 / 3.671 GB, free: 45.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49): time 0.001049/8.23, allocations: 0.7438 MB / 3.671 GB, free: 44.68 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001908/8.23, allocations: 0.9774 MB / 3.672 GB, free: 43.47 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001281/8.232, allocations: 1.258 MB / 3.674 GB, free: 42.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.525e-05/8.232, allocations: 37.7 kB / 3.674 GB, free: 42.16 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003439/8.232, allocations: 0.6206 MB / 3.674 GB, free: 41.54 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/8.232, allocations: 173.6 kB / 3.674 GB, free: 41.37 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.625e-05/8.232, allocations: 20 kB / 3.674 GB, free: 41.35 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.399e-05/8.232, allocations: 334 kB / 3.675 GB, free: 41.02 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004462/8.233, allocations: 349.7 kB / 3.675 GB, free: 40.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007242/8.233, allocations: 0.8717 MB / 3.676 GB, free: 39.6 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005616/8.234, allocations: 491.1 kB / 3.676 GB, free: 39.11 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/8.234, allocations: 0 / 3.676 GB, free: 39.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001509/8.236, allocations: 1.195 MB / 3.677 GB, free: 37.91 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.891e-05/8.236, allocations: 37.7 kB / 3.678 GB, free: 37.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/8.236, allocations: 12 kB / 3.678 GB, free: 37.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.808e-05/8.236, allocations: 16 kB / 3.678 GB, free: 37.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/8.237, allocations: 276 kB / 3.678 GB, free: 37.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.778e-05/8.237, allocations: 23.92 kB / 3.678 GB, free: 37.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001997/8.239, allocations: 390 kB / 3.678 GB, free: 37.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-05/8.239, allocations: 51.97 kB / 3.678 GB, free: 37.11 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 1 * 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.0002371/8.239, allocations: 206.4 kB / 3.678 GB, free: 36.89 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001656/8.239, allocations: 154.2 kB / 3.679 GB, free: 36.74 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003057/8.24, allocations: 132.6 kB / 3.679 GB, free: 36.61 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/8.24, allocations: 8 kB / 3.679 GB, free: 36.6 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/8.24, allocations: 64 / 3.679 GB, free: 36.6 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/8.24, allocations: 11.98 kB / 3.679 GB, free: 36.59 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00293/8.243, allocations: 3.282 MB / 3.682 GB, free: 33.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/8.243, allocations: 12.89 kB / 3.682 GB, free: 33.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000529/8.243, allocations: 119.8 kB / 3.682 GB, free: 33.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-05/8.243, allocations: 12 kB / 3.682 GB, free: 33 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.43e-05/8.243, allocations: 16 kB / 3.682 GB, free: 32.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.835e-06/8.243, allocations: 11.98 kB / 3.682 GB, free: 32.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/8.243, allocations: 11.94 kB / 3.682 GB, free: 32.96 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/8.244, allocations: 1.494 MB / 3.684 GB, free: 31.14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005786/8.245, allocations: 371.2 kB / 3.684 GB, free: 30.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001896/8.245, allocations: 24 kB / 3.684 GB, free: 30.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001156/8.246, allocations: 127.9 kB / 3.684 GB, free: 30.61 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.835e-05/8.247, allocations: 51.78 kB / 3.684 GB, free: 30.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.378e-05/8.247, allocations: 27.98 kB / 3.684 GB, free: 30.53 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001102/8.248, allocations: 0.9543 MB / 3.685 GB, free: 29.57 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/8.248, allocations: 0 / 3.685 GB, free: 29.57 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001775/8.249, allocations: 487.7 kB / 3.686 GB, free: 29.09 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent) * Number of discrete states: 5 (QSen_flow.last,QSen_flow.nextEvent,QSen_flow.b,QSen_flow.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 1 * 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.001797/8.251, allocations: 1.532 MB / 3.687 GB, free: 27.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001198/8.252, allocations: 0.8756 MB / 3.688 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/8.253, allocations: 7.938 kB / 3.688 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003783/8.253, allocations: 389.8 kB / 3.688 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002879/8.256, allocations: 0.7043 MB / 3.689 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00232/8.258, allocations: 1.652 MB / 3.691 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004632/8.259, allocations: 1.151 MB / 3.692 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.00136/8.26, allocations: 328.8 kB / 3.692 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002402/8.26, allocations: 95.42 kB / 3.692 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of SimCode: time 8.72e-07/8.26, allocations: 4 kB / 3.692 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of Templates: time 0.4288/8.689, allocations: 47.05 MB / 3.738 GB, free: 100.1 MB / 0.6355 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)