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.7735/0.7735, allocations: 132.5 MB / 139.9 MB, free: 15.39 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.001538/0.001538, allocations: 164.7 kB / 171.8 MB, free: 2.031 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.727/1.727, allocations: 170.6 MB / 374.2 MB, free: 15.7 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.001847/0.001847, allocations: 115.3 kB / 444.8 MB, free: 9.223 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.4993/0.4993, allocations: 73.4 MB / 0.6666 GB, free: 46.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8951/1.394, allocations: 376.2 MB / 1.034 GB, free: 29.99 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002491/1.395, allocations: 80.16 kB / 1.034 GB, free: 29.96 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.125/5.52, allocations: 1.004 GB / 2.038 GB, free: 43.12 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.954e-06/5.52, allocations: 0 / 2.038 GB, free: 43.12 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0009699/5.521, allocations: 151.8 kB / 2.038 GB, free: 42.97 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.01541/5.537, allocations: 4.516 MB / 2.042 GB, free: 38.38 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/5.537, allocations: 8.031 kB / 2.042 GB, free: 38.37 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006034/5.543, allocations: 0.828 MB / 2.043 GB, free: 37.54 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02064/5.563, allocations: 7.32 MB / 2.05 GB, free: 30.13 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002494/5.564, allocations: 96 kB / 2.05 GB, free: 30.04 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001521/5.565, allocations: 200 kB / 2.051 GB, free: 29.84 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008713/5.574, allocations: 4.57 MB / 2.055 GB, free: 25.27 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01057/5.585, allocations: 4.605 MB / 2.06 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000134/5.585, allocations: 11.88 kB / 2.06 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001071/5.586, allocations: 19.89 kB / 2.06 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.13e-05/5.586, allocations: 80 kB / 2.06 GB, free: 20.31 MB / 0.6355 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.5317/6.118, allocations: 21.25 MB / 2.08 GB, free: 56.27 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005061/6.123, allocations: 2.528 MB / 2.083 GB, free: 56.24 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002316/6.125, allocations: 1.639 MB / 2.085 GB, free: 56.23 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01277/6.138, allocations: 6.331 MB / 2.091 GB, free: 54.34 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002853/6.141, allocations: 1.766 MB / 2.092 GB, free: 54.25 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007275/6.148, allocations: 1.963 MB / 2.094 GB, free: 54.25 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=157): time 1.558e-05/6.148, allocations: 0 / 2.094 GB, free: 54.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=158): time 0.03931/6.187, allocations: 10.3 MB / 2.104 GB, free: 53.37 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001616/6.188, allocations: 226.8 kB / 2.105 GB, free: 53.12 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008377/6.196, allocations: 3.714 MB / 2.108 GB, free: 52.83 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0009709/6.197, allocations: 35.67 kB / 2.108 GB, free: 52.8 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.002515/6.2, allocations: 2.354 MB / 2.111 GB, free: 52.2 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.001134/6.201, allocations: 0.54 MB / 2.111 GB, free: 51.93 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002427/6.201, allocations: 3.281 kB / 2.111 GB, free: 51.93 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001636/6.201, allocations: 415.9 kB / 2.112 GB, free: 51.62 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001984/6.203, allocations: 1.541 MB / 2.113 GB, free: 51.61 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002741/6.206, allocations: 2.788 MB / 2.116 GB, free: 50.16 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007305/6.213, allocations: 2.547 MB / 2.118 GB, free: 50.13 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.696e-05/6.213, allocations: 9.188 kB / 2.118 GB, free: 50.13 MB / 0.6355 GB Notification: Performance of matching and sorting (n=333) (initialization): time 0.04274/6.256, allocations: 9.487 MB / 2.128 GB, free: 49.78 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.002894/6.259, allocations: 12.89 MB / 2.14 GB, free: 36.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.898e-05/6.259, allocations: 32.17 kB / 2.14 GB, free: 36.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03267/6.292, allocations: 6.401 MB / 2.146 GB, free: 36.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00297/6.295, allocations: 0.6655 MB / 2.147 GB, free: 36.65 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0141/6.309, allocations: 5.94 MB / 2.153 GB, free: 35.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006307/6.315, allocations: 319.9 kB / 2.153 GB, free: 35.05 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009983/6.316, allocations: 160.6 kB / 2.153 GB, free: 35.05 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/6.316, allocations: 5.5 kB / 2.153 GB, free: 35.05 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03963/6.356, allocations: 8.397 MB / 2.161 GB, free: 34.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001223/6.356, allocations: 27.84 kB / 2.162 GB, free: 34.83 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03155/6.388, allocations: 6.098 MB / 2.167 GB, free: 34.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002969/6.391, allocations: 0.6513 MB / 2.168 GB, free: 34.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01273/6.404, allocations: 7.921 MB / 2.176 GB, free: 31.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005916/6.41, allocations: 265 kB / 2.176 GB, free: 31.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008816/6.41, allocations: 154.8 kB / 2.176 GB, free: 31.6 MB / 0.6355 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 (267): * Single equations (assignments): 260 * 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 {11 13,10 11,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0011/6.412, allocations: 204 kB / 2.176 GB, free: 31.49 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001668/6.413, allocations: 420.2 kB / 2.177 GB, free: 31.27 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01677/6.43, allocations: 6.029 MB / 2.183 GB, free: 31.09 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-05/6.43, allocations: 22.95 kB / 2.183 GB, free: 31.09 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/6.43, allocations: 3.875 kB / 2.183 GB, free: 31.09 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02406/6.454, allocations: 8.095 MB / 2.191 GB, free: 29.7 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03863/6.493, allocations: 13.61 MB / 2.204 GB, free: 28.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.321e-05/6.493, allocations: 1.031 kB / 2.204 GB, free: 28.64 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00243/6.495, allocations: 425.1 kB / 2.204 GB, free: 28.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004887/6.5, allocations: 2.713 MB / 2.207 GB, free: 28.59 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004141/6.501, allocations: 30.58 kB / 2.207 GB, free: 28.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02213/6.523, allocations: 10.38 MB / 2.217 GB, free: 24.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-06/6.523, allocations: 0 / 2.217 GB, free: 24.77 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03114/6.554, allocations: 10.59 MB / 2.228 GB, free: 24.1 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004394/6.558, allocations: 1.03 MB / 2.229 GB, free: 23.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002355/6.561, allocations: 19.25 kB / 2.229 GB, free: 23.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00548/6.566, allocations: 305.6 kB / 2.229 GB, free: 23.75 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006707/6.567, allocations: 116.9 kB / 2.229 GB, free: 23.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005235/6.568, allocations: 83.12 kB / 2.229 GB, free: 23.75 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.006187/6.574, allocations: 2.808 MB / 2.232 GB, free: 23.57 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.91e-07/6.574, allocations: 0 / 2.232 GB, free: 23.57 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.01452/6.588, allocations: 2.357 MB / 2.234 GB, free: 23.57 MB / 0.6355 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 (126): * Single equations (assignments): 117 * 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,2 4,2 5,10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.004405/6.593, allocations: 1.243 MB / 2.235 GB, free: 23.26 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.02247/6.615, allocations: 8.237 MB / 2.243 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.346e-05/6.615, allocations: 1.906 kB / 2.243 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.009646/6.625, allocations: 3.171 MB / 2.246 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01508/6.64, allocations: 2.244 MB / 2.249 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02136/6.662, allocations: 7.933 MB / 2.256 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004696/6.666, allocations: 3.214 MB / 2.259 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.01031/6.677, allocations: 2.698 MB / 2.262 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001057/6.678, allocations: 243.5 kB / 2.262 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of SimCode: time 3.256e-06/6.678, allocations: 0 / 2.262 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of Templates: time 1.124/7.801, allocations: 110.8 MB / 2.371 GB, free: 64.73 MB / 0.6668 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)