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.708/0.708, allocations: 132.3 MB / 144.9 MB, free: 10.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.001035/0.001036, allocations: 173.4 kB / 176.9 MB, free: 2.262 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.242/1.242, allocations: 170.5 MB / 379.3 MB, free: 11.89 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.001599/0.001599, allocations: 116 kB / 450 MB, free: 5.855 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.4824/0.4825, allocations: 73.39 MB / 0.6736 GB, free: 47.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7704/1.253, allocations: 376.8 MB / 1.042 GB, free: 22.37 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/1.253, allocations: 82.89 kB / 1.042 GB, free: 22.33 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.192/4.445, allocations: 1.01 GB / 2.051 GB, free: 47.15 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.252e-06/4.445, allocations: 4 kB / 2.051 GB, free: 47.15 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0004697/4.446, allocations: 147.8 kB / 2.051 GB, free: 47 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.009419/4.455, allocations: 4.521 MB / 2.056 GB, free: 42.41 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/4.455, allocations: 12.03 kB / 2.056 GB, free: 42.39 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004146/4.459, allocations: 0.8287 MB / 2.057 GB, free: 41.56 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01521/4.475, allocations: 7.319 MB / 2.064 GB, free: 34.16 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001888/4.475, allocations: 250.2 kB / 2.064 GB, free: 33.91 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008341/4.476, allocations: 332 kB / 2.064 GB, free: 33.59 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01046/4.486, allocations: 5.388 MB / 2.07 GB, free: 27.95 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.546e-05/4.486, allocations: 15.78 kB / 2.07 GB, free: 27.94 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004395/4.487, allocations: 140 kB / 2.07 GB, free: 27.8 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.229e-05/4.487, allocations: 83.95 kB / 2.07 GB, free: 27.72 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007991/4.495, allocations: 5.07 MB / 2.075 GB, free: 22.64 MB / 0.6511 GB Warning: The model contains alias variables with conflicting start and/or 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.3668/4.861, allocations: 21.88 MB / 2.096 GB, free: 61.63 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005985/4.868, allocations: 2.853 MB / 2.099 GB, free: 61.6 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001979/4.87, allocations: 1.661 MB / 2.1 GB, free: 61.59 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01051/4.88, allocations: 6.47 MB / 2.107 GB, free: 59.72 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004708/4.885, allocations: 2.134 MB / 2.109 GB, free: 59.63 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005682/4.891, allocations: 2.04 MB / 2.111 GB, free: 59.63 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=157): time 6.983e-06/4.891, allocations: 0 / 2.111 GB, free: 59.63 MB / 0.6511 GB Notification: Performance of matching and sorting (n=157): time 0.01462/4.905, allocations: 5.415 MB / 2.116 GB, free: 59.52 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.437e-05/4.905, allocations: 225.6 kB / 2.116 GB, free: 59.27 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00668/4.912, allocations: 4.275 MB / 2.121 GB, free: 58.97 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0006154/4.913, allocations: 75.72 kB / 2.121 GB, free: 58.94 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001659/4.914, allocations: 2.326 MB / 2.123 GB, free: 58.39 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006122/4.915, allocations: 0.5629 MB / 2.123 GB, free: 58.11 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000177/4.915, allocations: 51.88 kB / 2.124 GB, free: 58.11 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001112/4.915, allocations: 410.8 kB / 2.124 GB, free: 57.81 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001948/4.917, allocations: 1.563 MB / 2.125 GB, free: 57.8 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002688/4.92, allocations: 2.837 MB / 2.128 GB, free: 56.34 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002494/4.922, allocations: 2.025 MB / 2.13 GB, free: 56.24 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-05/4.922, allocations: 10.69 kB / 2.13 GB, free: 56.24 MB / 0.6511 GB Notification: Performance of matching and sorting (n=333) (initialization): time 0.03369/4.956, allocations: 8.933 MB / 2.139 GB, free: 55.81 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.002341/4.958, allocations: 13.11 MB / 2.152 GB, free: 41.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.441e-05/4.959, allocations: 31.97 kB / 2.152 GB, free: 41.73 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08823/5.047, allocations: 15.54 MB / 2.167 GB, free: 41.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003138/5.05, allocations: 0.6713 MB / 2.168 GB, free: 41.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009583/5.06, allocations: 5.413 MB / 2.173 GB, free: 39.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005703/5.065, allocations: 374.6 kB / 2.173 GB, free: 39.57 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007619/5.066, allocations: 165.8 kB / 2.173 GB, free: 39.57 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/5.066, allocations: 4.719 kB / 2.173 GB, free: 39.57 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03051/5.097, allocations: 8.187 MB / 2.181 GB, free: 39.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.634e-05/5.097, allocations: 27.53 kB / 2.181 GB, free: 39.28 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0855/5.182, allocations: 15.27 MB / 2.196 GB, free: 38.48 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002711/5.185, allocations: 0.6469 MB / 2.197 GB, free: 38.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008374/5.193, allocations: 7.709 MB / 2.204 GB, free: 34.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004516/5.198, allocations: 324.1 kB / 2.205 GB, free: 34.67 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003775/5.198, allocations: 155.5 kB / 2.205 GB, free: 34.67 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" 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 () * 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.0009188/5.199, allocations: 283.6 kB / 2.205 GB, free: 34.57 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008101/5.2, allocations: 463.5 kB / 2.206 GB, free: 34.33 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01182/5.212, allocations: 5.455 MB / 2.211 GB, free: 34.09 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.263e-05/5.212, allocations: 21.95 kB / 2.211 GB, free: 34.09 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/5.212, allocations: 0 / 2.211 GB, free: 34.09 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01069/5.223, allocations: 6.329 MB / 2.217 GB, free: 32.69 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02125/5.244, allocations: 12.15 MB / 2.229 GB, free: 31.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.099e-05/5.244, allocations: 2.312 kB / 2.229 GB, free: 31.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002311/5.246, allocations: 449 kB / 2.229 GB, free: 31.59 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05992/5.306, allocations: 11.79 MB / 2.241 GB, free: 30.79 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004298/5.307, allocations: 49.52 kB / 2.241 GB, free: 30.79 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01479/5.322, allocations: 9.085 MB / 2.25 GB, free: 26.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/5.322, allocations: 3.125 kB / 2.25 GB, free: 26.98 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01526/5.337, allocations: 8.82 MB / 2.259 GB, free: 26.45 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003179/5.34, allocations: 1.066 MB / 2.26 GB, free: 26.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006683/5.341, allocations: 30.91 kB / 2.26 GB, free: 26.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00302/5.344, allocations: 336.7 kB / 2.26 GB, free: 26.08 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003868/5.344, allocations: 116.1 kB / 2.26 GB, free: 26.08 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002155/5.344, allocations: 83.89 kB / 2.26 GB, free: 26.07 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.004029/5.348, allocations: 3.3 MB / 2.263 GB, free: 25.87 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.51e-07/5.348, allocations: 3.281 kB / 2.263 GB, free: 25.87 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.007884/5.356, allocations: 2.747 MB / 2.266 GB, free: 25.76 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) * 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.002109/5.358, allocations: 1.295 MB / 2.267 GB, free: 25.46 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.01487/5.373, allocations: 8.22 MB / 2.275 GB, free: 24.75 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/5.373, allocations: 5.438 kB / 2.275 GB, free: 24.75 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.00632/5.38, allocations: 2.947 MB / 2.278 GB, free: 24.46 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009881/5.39, allocations: 2.56 MB / 2.281 GB, free: 24.32 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01363/5.403, allocations: 8.185 MB / 2.289 GB, free: 20.51 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002/5.405, allocations: 3.222 MB / 2.292 GB, free: 18.38 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.007759/5.413, allocations: 2.944 MB / 2.295 GB, free: 16.56 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007718/5.414, allocations: 261 kB / 2.295 GB, free: 16.34 MB / 0.6511 GB Notification: Performance of SimCode: time 5.91e-07/5.414, allocations: 0 / 2.295 GB, free: 16.34 MB / 0.6511 GB Notification: Performance of Templates: time 0.5312/5.945, allocations: 129.9 MB / 2.422 GB, free: 75.07 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)