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.7576/0.7576, allocations: 133.7 MB / 148.6 MB, free: 13.62 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.001138/0.001138, allocations: 184 kB / 180.9 MB, free: 15.05 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.476/1.476, allocations: 170.7 MB / 383.7 MB, free: 16.13 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.001521/0.001521, allocations: 121.6 kB / 454.6 MB, free: 9.707 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.1786/0.1791, allocations: 73.41 MB / 0.6812 GB, free: 5.551 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.829/6.008, allocations: 2.368 GB / 3.049 GB, free: 79.13 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/6.008, allocations: 89.77 kB / 3.049 GB, free: 79.05 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.48/8.488, allocations: 0.6162 GB / 3.666 GB, free: 68.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.232e-06/8.488, allocations: 0 / 3.666 GB, free: 68.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001311/8.488, allocations: 38.94 kB / 3.666 GB, free: 68.86 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.005571/8.494, allocations: 1.688 MB / 3.667 GB, free: 68.09 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/8.494, allocations: 9.438 kB / 3.667 GB, free: 68.09 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002992/8.497, allocations: 0.5304 MB / 3.668 GB, free: 68.01 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002136/8.499, allocations: 0.9441 MB / 3.669 GB, free: 67.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001276/8.5, allocations: 344.4 kB / 3.669 GB, free: 67.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002381/8.501, allocations: 108.3 kB / 3.669 GB, free: 67.75 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003986/8.505, allocations: 1.694 MB / 3.671 GB, free: 67.4 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.112e-05/8.505, allocations: 8.531 kB / 3.671 GB, free: 67.4 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001593/8.505, allocations: 48.97 kB / 3.671 GB, free: 67.4 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.277e-05/8.505, allocations: 54.11 kB / 3.671 GB, free: 67.4 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004044/8.509, allocations: 1.584 MB / 3.673 GB, free: 67.39 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00933/8.518, allocations: 6.184 MB / 3.679 GB, free: 64.48 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001809/8.52, allocations: 0.652 MB / 3.679 GB, free: 64.44 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.512e-05/8.52, allocations: 19.8 kB / 3.679 GB, free: 64.44 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001271/8.522, allocations: 0.711 MB / 3.68 GB, free: 64.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=49): time 2.715e-06/8.522, allocations: 1.375 kB / 3.68 GB, free: 64.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49): time 0.003036/8.525, allocations: 1.233 MB / 3.681 GB, free: 63.87 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003213/8.525, allocations: 0.9827 MB / 3.682 GB, free: 62.68 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002767/8.528, allocations: 1.393 MB / 3.684 GB, free: 62.53 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001635/8.528, allocations: 38.77 kB / 3.684 GB, free: 62.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005/8.528, allocations: 0.6173 MB / 3.684 GB, free: 62.3 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001895/8.529, allocations: 172.8 kB / 3.684 GB, free: 62.22 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.471e-05/8.529, allocations: 15.97 kB / 3.684 GB, free: 62.22 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001118/8.529, allocations: 341.8 kB / 3.685 GB, free: 61.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001454/8.53, allocations: 0.5229 MB / 3.685 GB, free: 61.91 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001739/8.532, allocations: 1.052 MB / 3.686 GB, free: 61.36 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001412/8.533, allocations: 0.6509 MB / 3.687 GB, free: 61.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.318e-06/8.533, allocations: 2.219 kB / 3.687 GB, free: 61.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.003658/8.537, allocations: 1.553 MB / 3.688 GB, free: 61.18 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.692e-05/8.537, allocations: 45.08 kB / 3.688 GB, free: 61.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/8.537, allocations: 9.656 kB / 3.688 GB, free: 61.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.931e-05/8.537, allocations: 18.88 kB / 3.688 GB, free: 61.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/8.539, allocations: 277.2 kB / 3.689 GB, free: 61.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.323e-05/8.539, allocations: 28.59 kB / 3.689 GB, free: 61.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002821/8.541, allocations: 387.9 kB / 3.689 GB, free: 61.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001343/8.542, allocations: 50.23 kB / 3.689 GB, free: 61.07 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 () * Number of clocked 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.0008828/8.542, allocations: 403.2 kB / 3.69 GB, free: 60.92 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000332/8.543, allocations: 139 kB / 3.69 GB, free: 60.86 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002963/8.543, allocations: 147.9 kB / 3.69 GB, free: 60.83 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/8.543, allocations: 8.906 kB / 3.69 GB, free: 60.83 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.635e-05/8.543, allocations: 7.719 kB / 3.69 GB, free: 60.83 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/8.543, allocations: 3.953 kB / 3.69 GB, free: 60.83 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00428/8.547, allocations: 3.391 MB / 3.693 GB, free: 59.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/8.547, allocations: 7.219 kB / 3.693 GB, free: 59.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005623/8.548, allocations: 112.8 kB / 3.693 GB, free: 59.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.139e-05/8.548, allocations: 10.44 kB / 3.693 GB, free: 59.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-05/8.548, allocations: 21.84 kB / 3.693 GB, free: 59.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.709e-06/8.548, allocations: 19 kB / 3.693 GB, free: 59.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/8.548, allocations: 13.45 kB / 3.693 GB, free: 59.7 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002032/8.55, allocations: 1.594 MB / 3.695 GB, free: 58.62 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009011/8.551, allocations: 379 kB / 3.695 GB, free: 58.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002154/8.551, allocations: 28.27 kB / 3.695 GB, free: 58.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001236/8.553, allocations: 129.1 kB / 3.695 GB, free: 58.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.074e-05/8.553, allocations: 51.72 kB / 3.695 GB, free: 58.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.02e-05/8.553, allocations: 27.98 kB / 3.695 GB, free: 58.45 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001854/8.555, allocations: 1.095 MB / 3.697 GB, free: 58.34 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.61e-07/8.555, allocations: 0 / 3.697 GB, free: 58.34 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002048/8.557, allocations: 495.6 kB / 3.697 GB, free: 58.31 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) * Number of clocked states: 0 () * 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.002226/8.559, allocations: 1.528 MB / 3.698 GB, free: 57.89 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002436/8.561, allocations: 1.11 MB / 3.7 GB, free: 57.82 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/8.561, allocations: 2.719 kB / 3.7 GB, free: 57.82 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006988/8.562, allocations: 440.2 kB / 3.7 GB, free: 57.76 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003237/8.565, allocations: 0.7164 MB / 3.701 GB, free: 57.74 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003576/8.569, allocations: 2.467 MB / 3.703 GB, free: 56.59 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005923/8.57, allocations: 1.156 MB / 3.704 GB, free: 55.88 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.00175/8.571, allocations: 325.1 kB / 3.705 GB, free: 55.87 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000267/8.572, allocations: 93.06 kB / 3.705 GB, free: 55.86 MB / 0.6198 GB Notification: Performance of SimCode: time 1.272e-06/8.572, allocations: 0 / 3.705 GB, free: 55.86 MB / 0.6198 GB Notification: Performance of Templates: time 0.06146/8.633, allocations: 43.4 MB / 3.747 GB, free: 53.18 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)