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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8761/0.8761, allocations: 133.7 MB / 148.6 MB, free: 13.67 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.001116/0.001116, allocations: 176.1 kB / 180.9 MB, free: 15.09 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.516/1.516, allocations: 170.7 MB / 383.7 MB, free: 16.17 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.001716/0.001716, allocations: 112.6 kB / 454.6 MB, free: 9.734 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.1723/0.1728, allocations: 73.41 MB / 0.6812 GB, free: 5.57 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.021/1.194, allocations: 376.9 MB / 1.049 GB, free: 109.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002156/1.194, allocations: 91.83 kB / 1.049 GB, free: 109.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.657/4.851, allocations: 1.013 GB / 2.062 GB, free: 83.4 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.254e-06/4.851, allocations: 0 / 2.062 GB, free: 83.4 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0008164/4.852, allocations: 147.3 kB / 2.063 GB, free: 83.36 MB / 0.6511 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.02001/4.872, allocations: 5.796 MB / 2.068 GB, free: 79.92 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/4.872, allocations: 9.688 kB / 2.068 GB, free: 79.92 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006242/4.878, allocations: 0.8348 MB / 2.069 GB, free: 79.54 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02072/4.899, allocations: 7.373 MB / 2.076 GB, free: 76.54 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002636/4.899, allocations: 249 kB / 2.076 GB, free: 76.54 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001023/4.9, allocations: 339.1 kB / 2.077 GB, free: 76.53 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01172/4.912, allocations: 5.571 MB / 2.082 GB, free: 74.52 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.095e-05/4.912, allocations: 7.719 kB / 2.082 GB, free: 74.51 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005394/4.912, allocations: 142.4 kB / 2.082 GB, free: 74.51 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-05/4.912, allocations: 87.64 kB / 2.082 GB, free: 74.5 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01099/4.923, allocations: 5.313 MB / 2.088 GB, free: 73.47 MB / 0.6511 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03349/4.957, allocations: 21.9 MB / 2.109 GB, free: 57.32 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00687/4.964, allocations: 3.054 MB / 2.112 GB, free: 54.27 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01269/4.977, allocations: 6.475 MB / 2.118 GB, free: 47.5 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005182/4.982, allocations: 2.29 MB / 2.121 GB, free: 45.19 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007128/4.989, allocations: 2.026 MB / 2.123 GB, free: 43.16 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=157): time 1.658e-05/4.989, allocations: 1.125 kB / 2.123 GB, free: 43.16 MB / 0.6511 GB Notification: Performance of matching and sorting (n=157): time 0.02706/5.016, allocations: 8.226 MB / 2.131 GB, free: 34.83 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.35e-05/5.016, allocations: 222.9 kB / 2.131 GB, free: 34.56 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00709/5.023, allocations: 4.321 MB / 2.135 GB, free: 30.25 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0009282/5.024, allocations: 69.7 kB / 2.135 GB, free: 30.18 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.002026/5.026, allocations: 2.332 MB / 2.137 GB, free: 27.82 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009171/5.027, allocations: 0.5547 MB / 2.138 GB, free: 27.26 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001977/5.027, allocations: 52 kB / 2.138 GB, free: 27.21 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001313/5.028, allocations: 411.3 kB / 2.138 GB, free: 26.8 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002778/5.03, allocations: 1.711 MB / 2.14 GB, free: 25.09 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003424/5.034, allocations: 2.996 MB / 2.143 GB, free: 21.52 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003168/5.037, allocations: 2.161 MB / 2.145 GB, free: 19.34 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.414e-05/5.037, allocations: 18.14 kB / 2.145 GB, free: 19.33 MB / 0.6511 GB Notification: Performance of matching and sorting (n=333) (initialization): time 0.0139/5.051, allocations: 6.274 MB / 2.151 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.4322/5.483, allocations: 13.11 MB / 2.164 GB, free: 78.74 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001259/5.483, allocations: 28.97 kB / 2.164 GB, free: 78.74 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07285/5.556, allocations: 11.74 MB / 2.176 GB, free: 78.71 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003427/5.56, allocations: 0.6734 MB / 2.176 GB, free: 78.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01045/5.57, allocations: 5.61 MB / 2.182 GB, free: 76.63 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006852/5.577, allocations: 376 kB / 2.182 GB, free: 76.63 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009294/5.578, allocations: 164.8 kB / 2.182 GB, free: 76.63 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/5.578, allocations: 7.219 kB / 2.182 GB, free: 76.63 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008982/5.587, allocations: 5.252 MB / 2.187 GB, free: 76.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.334e-05/5.587, allocations: 26.84 kB / 2.187 GB, free: 76.39 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06781/5.655, allocations: 11.33 MB / 2.198 GB, free: 76.09 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003051/5.658, allocations: 0.652 MB / 2.199 GB, free: 76.08 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009756/5.668, allocations: 7.774 MB / 2.207 GB, free: 72.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005856/5.674, allocations: 320.9 kB / 2.207 GB, free: 72.36 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007031/5.675, allocations: 154.6 kB / 2.207 GB, free: 72.36 MB / 0.6511 GB Warning: Assuming fixed start value for the following 1 variables: pump.vol.dynBal.m:VARIABLE(min = max(0.0, 0.0) start = 0.0001004433569776996 * pump.vol.rho_start unit = "kg" fixed = true protected = true ) "Mass of fluid" type: Real 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (269): * Single equations (assignments): 261 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {11 13,1 3,1 1,10 11} Notification: Performance of prepare postOptimizeDAE: time 0.004362/5.679, allocations: 1.511 MB / 2.209 GB, free: 72.16 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001655/5.681, allocations: 452.5 kB / 2.209 GB, free: 72.16 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01396/5.695, allocations: 5.62 MB / 2.214 GB, free: 71.93 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.564e-05/5.695, allocations: 14.41 kB / 2.214 GB, free: 71.93 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.41e-05/5.695, allocations: 2.656 kB / 2.214 GB, free: 71.93 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01637/5.711, allocations: 6.698 MB / 2.221 GB, free: 70.5 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0309/5.742, allocations: 12.53 MB / 2.233 GB, free: 69.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.368e-05/5.742, allocations: 4 kB / 2.233 GB, free: 69.47 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002759/5.745, allocations: 445.2 kB / 2.234 GB, free: 69.47 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06999/5.815, allocations: 11.93 MB / 2.245 GB, free: 68.66 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006152/5.816, allocations: 49.47 kB / 2.245 GB, free: 68.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02184/5.837, allocations: 9.991 MB / 2.255 GB, free: 64.88 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/5.837, allocations: 0 / 2.255 GB, free: 64.88 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02152/5.859, allocations: 9.327 MB / 2.264 GB, free: 64.51 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005269/5.864, allocations: 1.069 MB / 2.265 GB, free: 64.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002028/5.866, allocations: 29.69 kB / 2.265 GB, free: 64.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005604/5.872, allocations: 340.7 kB / 2.266 GB, free: 64.14 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006265/5.873, allocations: 110.3 kB / 2.266 GB, free: 64.14 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004177/5.873, allocations: 80.11 kB / 2.266 GB, free: 64.14 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.006549/5.88, allocations: 3.35 MB / 2.269 GB, free: 63.96 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.743e-06/5.88, allocations: 0 / 2.269 GB, free: 63.96 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.01484/5.895, allocations: 2.75 MB / 2.272 GB, free: 63.85 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pump.vol.dynBal.U,pump.vol.dynBal.m,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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (131): * Single equations (assignments): 122 * 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 {10 3,10 11,1 3,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003197/5.898, allocations: 1.295 MB / 2.273 GB, free: 63.56 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.02092/5.919, allocations: 8.431 MB / 2.281 GB, free: 62.86 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-05/5.919, allocations: 3.75 kB / 2.281 GB, free: 62.86 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.008861/5.928, allocations: 3.114 MB / 2.284 GB, free: 62.55 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01488/5.943, allocations: 2.56 MB / 2.287 GB, free: 62.41 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02823/5.971, allocations: 11.38 MB / 2.298 GB, free: 58.25 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003025/5.974, allocations: 3.21 MB / 2.301 GB, free: 57.42 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.007345/5.981, allocations: 1.626 MB / 2.303 GB, free: 57.23 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001546/5.983, allocations: 348.2 kB / 2.303 GB, free: 57.22 MB / 0.6511 GB Notification: Performance of SimCode: time 1.423e-06/5.983, allocations: 0 / 2.303 GB, free: 57.22 MB / 0.6511 GB Notification: Performance of Templates: time 0.6066/6.59, allocations: 119.9 MB / 2.42 GB, free: 112.2 MB / 0.6823 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)