Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example1v1.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.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example1v1") translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example1v1") [: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.7274/0.7274, allocations: 132.4 MB / 139.7 MB, free: 15.55 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.00128/0.00128, allocations: 165.4 kB / 171.6 MB, free: 1.996 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.412/1.412, 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.001645/0.001645, allocations: 114.7 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.5107/0.5107, allocations: 73.41 MB / 0.666 GB, free: 62.18 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7219/1.233, allocations: 377.2 MB / 1.034 GB, free: 58.06 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/1.233, allocations: 87.27 kB / 1.034 GB, free: 58.02 MB / 0.5886 GB Notification: Performance of FrontEnd: time 4.981/6.214, allocations: 1.23 GB / 2.264 GB, free: 60.76 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.001266/6.215, allocations: 90.77 kB / 2.264 GB, free: 60.74 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 396 * Number of variables: 396 Notification: Performance of Generate backend data structure: time 0.01883/6.234, allocations: 3.492 MB / 2.268 GB, free: 58.44 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.789e-05/6.234, allocations: 8.344 kB / 2.268 GB, free: 58.44 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006474/6.241, allocations: 0.601 MB / 2.268 GB, free: 58.16 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02033/6.261, allocations: 4.423 MB / 2.273 GB, free: 53.8 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001751/6.261, allocations: 59.94 kB / 2.273 GB, free: 53.75 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00124/6.263, allocations: 123.9 kB / 2.273 GB, free: 53.62 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004855/6.268, allocations: 1.658 MB / 2.275 GB, free: 51.96 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005499/6.273, allocations: 1.827 MB / 2.276 GB, free: 50.01 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.543e-05/6.273, allocations: 11.94 kB / 2.276 GB, free: 50 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004662/6.274, allocations: 4 kB / 2.276 GB, free: 49.99 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-05/6.274, allocations: 40 kB / 2.276 GB, free: 49.95 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02308/6.297, allocations: 11.57 MB / 2.288 GB, free: 37.84 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00213/6.299, allocations: 1.225 MB / 2.289 GB, free: 36.6 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001261/6.3, allocations: 0.9266 MB / 2.29 GB, free: 35.68 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009007/6.309, allocations: 3.401 MB / 2.293 GB, free: 32.05 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001114/6.31, allocations: 0.7229 MB / 2.294 GB, free: 31.31 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=98): time 5.39e-06/6.311, allocations: 0 / 2.294 GB, free: 31.31 MB / 0.6355 GB Notification: Performance of matching and sorting (n=99): time 0.02742/6.338, allocations: 5.762 MB / 2.299 GB, free: 25.49 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.731e-05/6.338, allocations: 141.5 kB / 2.3 GB, free: 25.32 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005628/6.344, allocations: 2.247 MB / 2.302 GB, free: 23.07 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0008815/6.345, allocations: 45.62 kB / 2.302 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001613/6.346, allocations: 0.8477 MB / 2.303 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009947/6.347, allocations: 331 kB / 2.303 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004599/6.348, allocations: 8 kB / 2.303 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002185/6.348, allocations: 365.8 kB / 2.303 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001709/6.35, allocations: 0.7809 MB / 2.304 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002624/6.352, allocations: 1.721 MB / 2.306 GB, free: 18.57 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002974/6.355, allocations: 1.059 MB / 2.307 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.305e-05/6.355, allocations: 4 kB / 2.307 GB, free: 17.51 MB / 0.6355 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.01603/6.371, allocations: 3.794 MB / 2.31 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.001485/6.373, allocations: 4.751 MB / 2.315 GB, free: 8.484 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.686e-05/6.373, allocations: 12 kB / 2.315 GB, free: 8.473 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002478/6.376, allocations: 0.9687 MB / 2.316 GB, free: 7.496 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001486/6.377, allocations: 265.2 kB / 2.316 GB, free: 7.238 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007529/6.385, allocations: 4.448 MB / 2.321 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00513/6.39, allocations: 264 kB / 2.321 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007946/6.391, allocations: 103.9 kB / 2.321 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/6.391, allocations: 4 kB / 2.321 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006637/6.397, allocations: 2.322 MB / 2.323 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.142e-05/6.397, allocations: 8 kB / 2.323 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001447/6.399, allocations: 467.6 kB / 2.324 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/6.4, allocations: 253.4 kB / 2.324 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009864/6.41, allocations: 6.777 MB / 2.331 GB, free: 8.074 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004091/6.414, allocations: 196.1 kB / 2.331 GB, free: 7.879 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005728/6.415, allocations: 87.89 kB / 2.331 GB, free: 7.793 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.001232/6.416, allocations: 157.2 kB / 2.331 GB, free: 7.633 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001221/6.417, allocations: 268.6 kB / 2.331 GB, free: 7.367 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01465/6.432, allocations: 3.349 MB / 2.335 GB, free: 4.027 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.532e-05/6.432, allocations: 16 kB / 2.335 GB, free: 4.012 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.494e-05/6.432, allocations: 0 / 2.335 GB, free: 4.012 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01273/6.445, allocations: 2.956 MB / 2.337 GB, free: 1 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4067/6.852, allocations: 5.352 MB / 2.343 GB, free: 142.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.161e-05/6.852, allocations: 0 / 2.343 GB, free: 142.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001143/6.853, allocations: 166.5 kB / 2.343 GB, free: 142.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002449/6.855, allocations: 0.9427 MB / 2.344 GB, free: 142.6 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002797/6.856, allocations: 31.81 kB / 2.344 GB, free: 142.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02409/6.88, allocations: 11.27 MB / 2.355 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/6.88, allocations: 3.938 kB / 2.355 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01262/6.892, allocations: 4.186 MB / 2.359 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002191/6.895, allocations: 0.5052 MB / 2.359 GB, free: 138 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008295/6.896, allocations: 10.31 kB / 2.359 GB, free: 138 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003136/6.899, allocations: 233.3 kB / 2.36 GB, free: 138 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002477/6.899, allocations: 82.64 kB / 2.36 GB, free: 138 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001765/6.899, allocations: 61.05 kB / 2.36 GB, free: 138 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.003658/6.903, allocations: 1.715 MB / 2.361 GB, free: 137.9 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.009034/6.912, allocations: 1.415 MB / 2.363 GB, free: 137.9 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.heaCoo.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {2 4,2 5,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.002611/6.914, allocations: 1.087 MB / 2.364 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.007732/6.922, allocations: 3.829 MB / 2.368 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/6.922, allocations: 3 kB / 2.368 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.003664/6.926, allocations: 1.543 MB / 2.369 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005954/6.932, allocations: 1.037 MB / 2.37 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01372/6.946, allocations: 4.81 MB / 2.375 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002016/6.948, allocations: 2.299 MB / 2.377 GB, free: 135.1 MB / 0.6511 GB Notification: Performance of SimCode: time 8.51e-07/6.948, allocations: 0 / 2.377 GB, free: 135.1 MB / 0.6511 GB Notification: Performance of Templates: time 0.1326/7.08, allocations: 76.29 MB / 2.452 GB, free: 131.9 MB / 0.6511 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example1v1.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example1v1.sim & ./Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1)