Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.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.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7377/0.7377, allocations: 132.4 MB / 139.7 MB, free: 15.52 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.001155/0.001156, allocations: 169 kB / 171.6 MB, free: 2.016 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.599/1.599, allocations: 170.5 MB / 373.9 MB, free: 15.86 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.002155/0.002155, allocations: 111.2 kB / 444.4 MB, free: 9.398 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.5855/0.5855, allocations: 73.39 MB / 0.666 GB, free: 61.95 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8549/1.441, allocations: 344.2 MB / 1.002 GB, free: 96.09 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/1.441, allocations: 84.77 kB / 1.002 GB, free: 96.05 MB / 0.5886 GB Notification: Performance of FrontEnd: time 0.914/2.355, allocations: 233.5 MB / 1.23 GB, free: 124.9 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.974e-05/2.355, allocations: 18.92 kB / 1.23 GB, free: 124.9 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.002252/2.357, allocations: 0.9094 MB / 1.231 GB, free: 123.9 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/2.357, allocations: 8.031 kB / 1.231 GB, free: 123.9 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001168/2.359, allocations: 203 kB / 1.231 GB, free: 123.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0142/2.373, allocations: 6.36 MB / 1.238 GB, free: 117.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000356/2.373, allocations: 96.88 kB / 1.238 GB, free: 117.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002189/2.373, allocations: 24 kB / 1.238 GB, free: 117.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008948/2.374, allocations: 329.9 kB / 1.238 GB, free: 116.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008851/2.375, allocations: 0.4888 MB / 1.238 GB, free: 116.3 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.691e-05/2.375, allocations: 0 / 1.238 GB, free: 116.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.052e-05/2.375, allocations: 4 kB / 1.238 GB, free: 116.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-05/2.375, allocations: 19.98 kB / 1.239 GB, free: 116.3 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003847/2.379, allocations: 3.069 MB / 1.242 GB, free: 113 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005526/2.38, allocations: 266.8 kB / 1.242 GB, free: 112.8 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002194/2.38, allocations: 150 kB / 1.242 GB, free: 112.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.587e-05/2.38, allocations: 15.81 kB / 1.242 GB, free: 112.6 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000335/2.38, allocations: 249.2 kB / 1.242 GB, free: 112.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=31): time 3.737e-06/2.38, allocations: 0 / 1.242 GB, free: 112.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=32): time 0.004949/2.385, allocations: 1.375 MB / 1.244 GB, free: 110.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.876e-05/2.386, allocations: 191.9 kB / 1.244 GB, free: 110.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004606/2.386, allocations: 373.3 kB / 1.244 GB, free: 110.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.307e-05/2.386, allocations: 25.7 kB / 1.244 GB, free: 110.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/2.386, allocations: 255.5 kB / 1.244 GB, free: 110 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/2.386, allocations: 106.5 kB / 1.244 GB, free: 109.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.531e-05/2.386, allocations: 0 / 1.244 GB, free: 109.9 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001236/2.387, allocations: 358.8 kB / 1.245 GB, free: 109.6 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002368/2.387, allocations: 128.8 kB / 1.245 GB, free: 109.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003064/2.387, allocations: 308.3 kB / 1.245 GB, free: 109.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000329/2.387, allocations: 178.6 kB / 1.245 GB, free: 108.9 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/2.387, allocations: 0 / 1.245 GB, free: 108.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002855/2.39, allocations: 0.784 MB / 1.246 GB, free: 108.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003785/2.391, allocations: 1.31 MB / 1.247 GB, free: 106.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.915e-05/2.391, allocations: 7.938 kB / 1.247 GB, free: 106.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003107/2.391, allocations: 92.72 kB / 1.247 GB, free: 106.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004832/2.392, allocations: 111.9 kB / 1.248 GB, free: 106.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001502/2.393, allocations: 0.8255 MB / 1.248 GB, free: 105.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009839/2.394, allocations: 99.91 kB / 1.248 GB, free: 105.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.517e-05/2.394, allocations: 19.98 kB / 1.249 GB, free: 105.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/2.394, allocations: 4 kB / 1.249 GB, free: 105.5 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007288/2.395, allocations: 387.5 kB / 1.249 GB, free: 105.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/2.395, allocations: 4.438 kB / 1.249 GB, free: 105.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001653/2.395, allocations: 52.83 kB / 1.249 GB, free: 105.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000451/2.396, allocations: 111.8 kB / 1.249 GB, free: 104.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001378/2.397, allocations: 1.517 MB / 1.251 GB, free: 103.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007413/2.398, allocations: 71.91 kB / 1.251 GB, free: 103.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.537e-05/2.398, allocations: 20.06 kB / 1.251 GB, free: 103.2 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (41): * Single equations (assignments): 39 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002199/2.398, allocations: 150.5 kB / 1.251 GB, free: 103.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/2.398, allocations: 55.34 kB / 1.251 GB, free: 103 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002569/2.401, allocations: 0.7176 MB / 1.252 GB, free: 102.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/2.401, allocations: 192 / 1.252 GB, free: 102.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/2.401, allocations: 11.94 kB / 1.252 GB, free: 102.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00225/2.403, allocations: 0.8853 MB / 1.252 GB, free: 101.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003448/2.406, allocations: 1.337 MB / 1.254 GB, free: 99.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/2.406, allocations: 0 / 1.254 GB, free: 99.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003778/2.407, allocations: 72.06 kB / 1.254 GB, free: 99.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002916/2.407, allocations: 113.7 kB / 1.254 GB, free: 99.74 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.199e-05/2.407, allocations: 15.98 kB / 1.254 GB, free: 99.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004897/2.412, allocations: 2.619 MB / 1.256 GB, free: 96.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.225e-06/2.412, allocations: 19.94 kB / 1.256 GB, free: 96.95 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002715/2.415, allocations: 1.03 MB / 1.257 GB, free: 95.86 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00038/2.415, allocations: 176.4 kB / 1.258 GB, free: 95.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001527/2.415, allocations: 4 kB / 1.258 GB, free: 95.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007936/2.416, allocations: 95.97 kB / 1.258 GB, free: 95.57 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.183e-05/2.416, allocations: 19.89 kB / 1.258 GB, free: 95.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-05/2.416, allocations: 19.98 kB / 1.258 GB, free: 95.53 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0003962/2.417, allocations: 294.9 kB / 1.258 GB, free: 95.24 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001748/2.418, allocations: 351.5 kB / 1.258 GB, free: 94.9 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (dyn.U) * 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 (23): * Single equations (assignments): 20 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001034/2.42, allocations: 393 kB / 1.259 GB, free: 94.54 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002201/2.422, allocations: 0.863 MB / 1.26 GB, free: 93.65 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/2.422, allocations: 1 kB / 1.26 GB, free: 93.65 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001154/2.423, allocations: 463.3 kB / 1.26 GB, free: 93.18 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/2.424, allocations: 213.8 kB / 1.26 GB, free: 92.98 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002203/2.426, allocations: 0.8102 MB / 1.261 GB, free: 92.13 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005797/2.427, allocations: 0.9479 MB / 1.262 GB, free: 91.16 MB / 0.6042 GB Notification: Performance of SimCode: time 5.71e-07/2.427, allocations: 0 / 1.262 GB, free: 91.16 MB / 0.6042 GB Notification: Performance of Templates: time 0.02569/2.453, allocations: 13.92 MB / 1.276 GB, free: 77.35 MB / 0.6042 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & ./Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)