Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.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.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") translateModel(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") [: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.8182/0.8182, allocations: 132.4 MB / 139.7 MB, free: 15.51 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.001146/0.001146, allocations: 175.2 kB / 171.6 MB, free: 1.977 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.611/1.611, allocations: 170.5 MB / 373.9 MB, free: 15.81 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.002087/0.002087, allocations: 122.7 kB / 444.4 MB, free: 9.344 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.5629/0.5629, allocations: 73.39 MB / 0.666 GB, free: 61.98 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8225/1.385, allocations: 376.1 MB / 1.033 GB, free: 62.09 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003413/1.386, allocations: 85.83 kB / 1.033 GB, free: 62.05 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.883/5.269, allocations: 1.009 GB / 2.043 GB, free: 46.57 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.001066/5.27, allocations: 159.7 kB / 2.043 GB, free: 46.41 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: 793 * Number of variables: 793 Notification: Performance of Generate backend data structure: time 0.01661/5.287, allocations: 4.564 MB / 2.047 GB, free: 41.77 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/5.287, allocations: 12.03 kB / 2.047 GB, free: 41.76 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006312/5.293, allocations: 0.8561 MB / 2.048 GB, free: 40.9 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02221/5.315, allocations: 7.439 MB / 2.055 GB, free: 33.38 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002565/5.316, allocations: 100 kB / 2.055 GB, free: 33.28 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00137/5.317, allocations: 204 kB / 2.056 GB, free: 33.08 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008072/5.325, allocations: 4.67 MB / 2.06 GB, free: 28.41 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008669/5.334, allocations: 4.688 MB / 2.065 GB, free: 23.48 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.268e-05/5.334, allocations: 11.94 kB / 2.065 GB, free: 23.46 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005791/5.335, allocations: 8 kB / 2.065 GB, free: 23.46 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.404e-05/5.335, allocations: 80 kB / 2.065 GB, free: 23.38 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03517/5.37, allocations: 21.43 MB / 2.086 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003923/5.374, allocations: 2.532 MB / 2.088 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002411/5.376, allocations: 1.657 MB / 2.09 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01386/5.39, allocations: 6.302 MB / 2.096 GB, free: 6.316 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002653/5.393, allocations: 1.785 MB / 2.098 GB, free: 4.512 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=157): time 5.099e-06/5.393, allocations: 0 / 2.098 GB, free: 4.512 MB / 0.6511 GB Notification: Performance of matching and sorting (n=158): time 0.3745/5.767, allocations: 11.17 MB / 2.109 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.185e-05/5.768, allocations: 230.7 kB / 2.109 GB, free: 133.1 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006947/5.775, allocations: 3.804 MB / 2.113 GB, free: 132.8 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.001032/5.776, allocations: 31.39 kB / 2.113 GB, free: 132.8 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001824/5.777, allocations: 1.528 MB / 2.114 GB, free: 132.2 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.001653/5.779, allocations: 0.5381 MB / 2.115 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002988/5.779, allocations: 5.156 kB / 2.115 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001976/5.78, allocations: 409.6 kB / 2.115 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002194/5.782, allocations: 1.644 MB / 2.117 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002839/5.785, allocations: 2.901 MB / 2.12 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004406/5.789, allocations: 2.201 MB / 2.122 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-05/5.789, allocations: 6.312 kB / 2.122 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=333) (initialization): time 0.07524/5.864, allocations: 13.22 MB / 2.135 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.002249/5.867, allocations: 12.78 MB / 2.147 GB, free: 116.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.077e-05/5.867, allocations: 35.06 kB / 2.147 GB, free: 116.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06821/5.935, allocations: 10.93 MB / 2.158 GB, free: 116.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003518/5.939, allocations: 0.6548 MB / 2.158 GB, free: 116.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01543/5.954, allocations: 6.458 MB / 2.165 GB, free: 115.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006388/5.96, allocations: 309.5 kB / 2.165 GB, free: 115.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000902/5.961, allocations: 204.6 kB / 2.165 GB, free: 115.1 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/5.961, allocations: 3.875 kB / 2.165 GB, free: 115.1 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0667/6.028, allocations: 11.99 MB / 2.177 GB, free: 114.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001015/6.028, allocations: 29.03 kB / 2.177 GB, free: 114.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06786/6.096, allocations: 10.63 MB / 2.187 GB, free: 114.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003142/6.099, allocations: 0.6432 MB / 2.188 GB, free: 114.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01264/6.112, allocations: 8.021 MB / 2.196 GB, free: 111.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006876/6.119, allocations: 251.3 kB / 2.196 GB, free: 111.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009857/6.12, allocations: 194.8 kB / 2.196 GB, free: 111.8 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 126 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (264): * Single equations (assignments): 257 * Array equations: 1 * Algorithm blocks: 2 * Record equations: 1 * 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: 0 * Non-linear torn systems: 3 {12 15,10 11,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.001201/6.121, allocations: 192.2 kB / 2.196 GB, free: 111.6 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00159/6.123, allocations: 424.1 kB / 2.197 GB, free: 111.4 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01539/6.138, allocations: 5.262 MB / 2.202 GB, free: 111.1 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.604e-05/6.138, allocations: 23.25 kB / 2.202 GB, free: 111.1 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/6.138, allocations: 0 / 2.202 GB, free: 111.1 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01306/6.151, allocations: 5.687 MB / 2.208 GB, free: 109.7 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03291/6.184, allocations: 10.43 MB / 2.218 GB, free: 108.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.091e-05/6.184, allocations: 0 / 2.218 GB, free: 108.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002701/6.187, allocations: 430.2 kB / 2.218 GB, free: 108.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005996/6.193, allocations: 2.123 MB / 2.22 GB, free: 108.7 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005228/6.194, allocations: 37.8 kB / 2.22 GB, free: 108.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02224/6.216, allocations: 8.922 MB / 2.229 GB, free: 105 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/6.216, allocations: 0 / 2.229 GB, free: 105 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02728/6.243, allocations: 8.326 MB / 2.237 GB, free: 104.3 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004352/6.248, allocations: 0.9563 MB / 2.238 GB, free: 104 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001846/6.249, allocations: 3.844 kB / 2.238 GB, free: 104 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004863/6.254, allocations: 276.3 kB / 2.238 GB, free: 104 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000367/6.255, allocations: 108.6 kB / 2.238 GB, free: 104 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003714/6.255, allocations: 88.3 kB / 2.238 GB, free: 104 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.005024/6.26, allocations: 2.88 MB / 2.241 GB, free: 103.8 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.01371/6.274, allocations: 2.304 MB / 2.244 GB, free: 103.8 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (pump.vol.dynBal.U,hea.heaCoo.T,val.filter.x[1],val.filter.x[2]) * 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 (135): * Single equations (assignments): 126 * 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: 0 * Non-linear torn systems: 4 {12 5,2 4,2 5,10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.003129/6.277, allocations: 1.24 MB / 2.245 GB, free: 103.5 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0224/6.299, allocations: 7.778 MB / 2.252 GB, free: 102.9 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.256e-05/6.3, allocations: 4.094 kB / 2.252 GB, free: 102.9 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.009354/6.309, allocations: 2.87 MB / 2.255 GB, free: 102.7 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01381/6.323, allocations: 2.133 MB / 2.257 GB, free: 102.5 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02581/6.349, allocations: 8.197 MB / 2.265 GB, free: 101 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005188/6.354, allocations: 3.585 MB / 2.269 GB, free: 100.1 MB / 0.6511 GB Notification: Performance of SimCode: time 1.723e-06/6.354, allocations: 1.312 kB / 2.269 GB, free: 100.1 MB / 0.6511 GB Notification: Performance of Templates: time 0.1984/6.552, allocations: 122.6 MB / 2.388 GB, free: 7.258 MB / 0.6511 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.sim & ./Buildings_3.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe 2>&1)