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.9557/0.9557, allocations: 132.5 MB / 139.9 MB, free: 15.37 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.0009125/0.0009127, allocations: 169.5 kB / 171.8 MB, free: 2.039 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.464/1.464, allocations: 170.6 MB / 374.2 MB, free: 15.71 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.001592/0.001593, allocations: 119.6 kB / 444.8 MB, free: 9.223 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.4955/0.4955, allocations: 73.4 MB / 0.6666 GB, free: 46.82 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.053/6.548, allocations: 2.368 GB / 3.034 GB, free: 49.67 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/6.549, allocations: 86.02 kB / 3.034 GB, free: 49.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.403/8.952, allocations: 0.6086 GB / 3.643 GB, free: 74.97 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.803e-06/8.952, allocations: 0 / 3.643 GB, free: 74.97 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001077/8.952, allocations: 48.72 kB / 3.643 GB, free: 74.96 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.004369/8.956, allocations: 1.548 MB / 3.644 GB, free: 74.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.915e-05/8.957, allocations: 9.625 kB / 3.644 GB, free: 74.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003228/8.96, allocations: 0.5319 MB / 3.645 GB, free: 74.19 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002129/8.962, allocations: 0.9311 MB / 3.646 GB, free: 73.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001336/8.963, allocations: 311 kB / 3.646 GB, free: 73.93 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001597/8.963, allocations: 60.75 kB / 3.646 GB, free: 73.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002045/8.966, allocations: 1.043 MB / 3.647 GB, free: 73.92 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001998/8.968, allocations: 1.345 MB / 3.648 GB, free: 73.58 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.076e-05/8.968, allocations: 7.688 kB / 3.648 GB, free: 73.58 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001232/8.968, allocations: 4.766 kB / 3.648 GB, free: 73.58 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.419e-05/8.968, allocations: 53.73 kB / 3.649 GB, free: 73.58 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008614/8.976, allocations: 5.848 MB / 3.654 GB, free: 70.75 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008585/8.977, allocations: 0.5223 MB / 3.655 GB, free: 70.71 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003847/8.978, allocations: 289.4 kB / 3.655 GB, free: 70.69 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.115e-05/8.978, allocations: 3.406 kB / 3.655 GB, free: 70.69 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008475/8.979, allocations: 0.662 MB / 3.656 GB, free: 70.37 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=48): time 3.847e-06/8.979, allocations: 0 / 3.656 GB, free: 70.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.001457/8.98, allocations: 0.6782 MB / 3.656 GB, free: 70.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003158/8.98, allocations: 0.9545 MB / 3.657 GB, free: 69.13 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009692/8.981, allocations: 0.752 MB / 3.658 GB, free: 69 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.211e-05/8.981, allocations: 25.7 kB / 3.658 GB, free: 68.97 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005034/8.982, allocations: 0.6481 MB / 3.659 GB, free: 68.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001464/8.982, allocations: 166.5 kB / 3.659 GB, free: 68.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.231e-05/8.982, allocations: 3.5 kB / 3.659 GB, free: 68.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001473/8.982, allocations: 396.5 kB / 3.659 GB, free: 68.31 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004768/8.983, allocations: 346.3 kB / 3.66 GB, free: 68.31 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008466/8.984, allocations: 0.8725 MB / 3.66 GB, free: 67.73 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000695/8.984, allocations: 465.4 kB / 3.661 GB, free: 67.73 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/8.984, allocations: 5.438 kB / 3.661 GB, free: 67.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001642/8.986, allocations: 1.084 MB / 3.662 GB, free: 67.64 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.082e-05/8.986, allocations: 43.53 kB / 3.662 GB, free: 67.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/8.986, allocations: 14.12 kB / 3.662 GB, free: 67.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.054e-05/8.986, allocations: 18.38 kB / 3.662 GB, free: 67.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/8.987, allocations: 288.1 kB / 3.662 GB, free: 67.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.978e-05/8.987, allocations: 27.2 kB / 3.662 GB, free: 67.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002033/8.99, allocations: 319.3 kB / 3.663 GB, free: 67.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/8.99, allocations: 53.92 kB / 3.663 GB, free: 67.57 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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.0002514/8.99, allocations: 173.2 kB / 3.663 GB, free: 67.42 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001575/8.99, allocations: 93.38 kB / 3.663 GB, free: 67.38 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002421/8.99, allocations: 105 kB / 3.663 GB, free: 67.36 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/8.99, allocations: 7.688 kB / 3.663 GB, free: 67.36 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/8.99, allocations: 0 / 3.663 GB, free: 67.36 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/8.99, allocations: 11.52 kB / 3.663 GB, free: 67.36 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003208/8.994, allocations: 3.002 MB / 3.666 GB, free: 66.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/8.994, allocations: 9.875 kB / 3.666 GB, free: 66.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005678/8.994, allocations: 115.1 kB / 3.666 GB, free: 66.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.268e-05/8.994, allocations: 11.03 kB / 3.666 GB, free: 66.39 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.919e-05/8.994, allocations: 20.75 kB / 3.666 GB, free: 66.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.754e-06/8.994, allocations: 11 kB / 3.666 GB, free: 66.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.786e-06/8.994, allocations: 13.59 kB / 3.666 GB, free: 66.39 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/8.996, allocations: 1.341 MB / 3.667 GB, free: 65.5 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004606/8.996, allocations: 324.4 kB / 3.668 GB, free: 65.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001771/8.996, allocations: 16.84 kB / 3.668 GB, free: 65.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/8.997, allocations: 119.7 kB / 3.668 GB, free: 65.35 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.229e-05/8.997, allocations: 48.11 kB / 3.668 GB, free: 65.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.135e-05/8.997, allocations: 35.44 kB / 3.668 GB, free: 65.34 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006289/8.998, allocations: 0.5583 MB / 3.668 GB, free: 65.25 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/8.998, allocations: 0 / 3.668 GB, free: 65.25 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001729/9, allocations: 476.5 kB / 3.669 GB, free: 65.19 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (44): * Single equations (assignments): 43 * 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.002185/9.002, allocations: 1.679 MB / 3.671 GB, free: 64.75 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001335/9.003, allocations: 0.8568 MB / 3.671 GB, free: 64.68 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/9.003, allocations: 6.375 kB / 3.671 GB, free: 64.68 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004118/9.004, allocations: 381.8 kB / 3.672 GB, free: 64.62 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001778/9.006, allocations: 366.2 kB / 3.672 GB, free: 64.61 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002718/9.008, allocations: 1.521 MB / 3.674 GB, free: 64 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005725/9.009, allocations: 1.161 MB / 3.675 GB, free: 63.3 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001261/9.01, allocations: 263.7 kB / 3.675 GB, free: 63.29 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002358/9.01, allocations: 85.84 kB / 3.675 GB, free: 63.29 MB / 0.6198 GB Notification: Performance of SimCode: time 1.393e-06/9.01, allocations: 2.25 kB / 3.675 GB, free: 63.29 MB / 0.6198 GB Notification: Performance of Templates: time 0.03722/9.048, allocations: 25.52 MB / 3.7 GB, free: 61.51 MB / 0.6198 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)