Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") translateModel(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.682/1.682, allocations: 288.4 MB / 304.3 MB, free: 8.055 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001206/0.001205, allocations: 182.3 kB / 372.9 MB, free: 10.15 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.664/1.664, allocations: 205.4 MB / 0.6317 GB, free: 9.934 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000858/0.0008581, allocations: 90.3 kB / 0.745 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003716/0.0003717, allocations: 16.06 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1936, allocations: 115.3 MB / 0.9807 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9527/1.146, allocations: 420.5 MB / 1.391 GB, free: 7.656 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003049/1.147, allocations: 89.34 kB / 1.391 GB, free: 7.613 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.103/6.249, allocations: 1.443 GB / 2.835 GB, free: 24.43 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.274e-06/6.249, allocations: 0 / 2.835 GB, free: 24.43 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0009237/6.25, allocations: 159.8 kB / 2.835 GB, free: 24.28 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 835 * Number of variables: 835 Notification: Performance of Generate backend data structure: time 0.01966/6.27, allocations: 5.844 MB / 2.841 GB, free: 18.34 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/6.27, allocations: 8.031 kB / 2.841 GB, free: 18.33 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00514/6.275, allocations: 0.8098 MB / 2.841 GB, free: 17.51 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01565/6.291, allocations: 6.645 MB / 2.848 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002342/6.291, allocations: 262.9 kB / 2.848 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000887/6.292, allocations: 352.3 kB / 2.849 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008353/6.3, allocations: 5.413 MB / 2.854 GB, free: 4.52 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.255e-05/6.3, allocations: 11.88 kB / 2.854 GB, free: 4.508 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004495/6.301, allocations: 140 kB / 2.854 GB, free: 4.371 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-05/6.301, allocations: 84 kB / 2.854 GB, free: 4.289 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00749/6.308, allocations: 5.066 MB / 2.859 GB, free: 15.21 MB / 0.9792 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.685/6.994, allocations: 22.59 MB / 2.881 GB, free: 138.4 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005493/6.999, allocations: 2.62 MB / 2.884 GB, free: 138.4 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003247/7.002, allocations: 1.812 MB / 2.885 GB, free: 138.3 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01594/7.018, allocations: 6.978 MB / 2.892 GB, free: 136.3 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003454/7.022, allocations: 1.842 MB / 2.894 GB, free: 136.2 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007555/7.029, allocations: 2.03 MB / 2.896 GB, free: 136.2 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=156): time 1.735e-05/7.029, allocations: 1.875 kB / 2.896 GB, free: 136.2 MB / 0.9792 GB Notification: Performance of matching and sorting (n=156): time 0.01955/7.049, allocations: 6.996 MB / 2.903 GB, free: 135.8 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.767e-05/7.049, allocations: 144.6 kB / 2.903 GB, free: 135.7 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007906/7.057, allocations: 4.805 MB / 2.908 GB, free: 135.4 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0009141/7.058, allocations: 73.03 kB / 2.908 GB, free: 135.3 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.002722/7.061, allocations: 2.448 MB / 2.91 GB, free: 134.9 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.001219/7.062, allocations: 0.5512 MB / 2.911 GB, free: 134.6 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000197/7.062, allocations: 51.94 kB / 2.911 GB, free: 134.6 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001877/7.062, allocations: 409.6 kB / 2.911 GB, free: 134.3 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002393/7.065, allocations: 1.531 MB / 2.913 GB, free: 134.3 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003231/7.068, allocations: 2.845 MB / 2.915 GB, free: 132.7 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006163/7.074, allocations: 4.284 MB / 2.92 GB, free: 131.5 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-05/7.074, allocations: 9.625 kB / 2.92 GB, free: 131.5 MB / 0.9792 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.01277/7.087, allocations: 5.666 MB / 2.925 GB, free: 131.1 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006689/7.088, allocations: 1.091 MB / 2.926 GB, free: 129.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.911e-05/7.088, allocations: 35 kB / 2.926 GB, free: 129.8 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07214/7.16, allocations: 11.59 MB / 2.937 GB, free: 129.8 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002851/7.163, allocations: 0.6397 MB / 2.938 GB, free: 129.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006839/7.17, allocations: 4.722 MB / 2.943 GB, free: 128.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005416/7.175, allocations: 355.5 kB / 2.943 GB, free: 128.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005556/7.176, allocations: 161.8 kB / 2.943 GB, free: 128.2 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/7.176, allocations: 3.812 kB / 2.943 GB, free: 128.2 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008187/7.184, allocations: 5.033 MB / 2.948 GB, free: 128.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000102/7.184, allocations: 32.97 kB / 2.948 GB, free: 128.1 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06643/7.251, allocations: 11.38 MB / 2.959 GB, free: 128 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002851/7.253, allocations: 0.6391 MB / 2.96 GB, free: 128 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01002/7.263, allocations: 7.722 MB / 2.967 GB, free: 124.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005489/7.269, allocations: 331.9 kB / 2.968 GB, free: 124.7 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005579/7.27, allocations: 153.5 kB / 2.968 GB, free: 124.7 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 147 * 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 (286): * Single equations (assignments): 279 * Array equations: 2 * Algorithm blocks: 1 * 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.003717/7.273, allocations: 1.557 MB / 2.969 GB, free: 124.5 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001571/7.275, allocations: 468.9 kB / 2.97 GB, free: 124.3 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007291/7.282, allocations: 4.56 MB / 2.974 GB, free: 124.1 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.038e-05/7.282, allocations: 25.67 kB / 2.974 GB, free: 124.1 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/7.282, allocations: 0 / 2.974 GB, free: 124.1 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01857/7.301, allocations: 7.342 MB / 2.982 GB, free: 122.7 MB / 0.9792 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 postOpt removeSimpleEquations (simulation): time 0.0326/7.333, allocations: 13.22 MB / 2.994 GB, free: 121.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.6e-05/7.334, allocations: 0 / 2.994 GB, free: 121.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002262/7.336, allocations: 373.9 kB / 2.995 GB, free: 121.5 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0654/7.401, allocations: 11.63 MB / 3.006 GB, free: 120.7 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005821/7.402, allocations: 48.58 kB / 3.006 GB, free: 120.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006247/7.408, allocations: 4.129 MB / 3.01 GB, free: 119.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/7.408, allocations: 3.469 kB / 3.01 GB, free: 119.1 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0265/7.435, allocations: 9.677 MB / 3.02 GB, free: 118.5 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00419/7.439, allocations: 1.052 MB / 3.021 GB, free: 118.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001648/7.441, allocations: 27.78 kB / 3.021 GB, free: 118.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004179/7.445, allocations: 292 kB / 3.021 GB, free: 118.2 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003572/7.445, allocations: 107.1 kB / 3.021 GB, free: 118.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002495/7.445, allocations: 78.06 kB / 3.021 GB, free: 118.2 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.005142/7.451, allocations: 3.269 MB / 3.024 GB, free: 118 MB / 0.9792 GB Notification: Performance of sort global known variables: time 4.01e-07/7.451, allocations: 0 / 3.024 GB, free: 118 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.01084/7.461, allocations: 2.783 MB / 3.027 GB, free: 117.9 MB / 0.9792 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.outCon.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 (128): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * 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 {10 3,2 5,10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.002725/7.464, allocations: 1.231 MB / 3.028 GB, free: 117.6 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01653/7.481, allocations: 7.365 MB / 3.035 GB, free: 117 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.161e-05/7.481, allocations: 4.734 kB / 3.035 GB, free: 117 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.005767/7.487, allocations: 2.476 MB / 3.038 GB, free: 117 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0164/7.503, allocations: 2.705 MB / 3.041 GB, free: 116.8 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0179/7.521, allocations: 11 MB / 3.051 GB, free: 112.6 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002588/7.524, allocations: 3.221 MB / 3.054 GB, free: 111.8 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.007087/7.531, allocations: 1.681 MB / 3.056 GB, free: 111.6 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00142/7.532, allocations: 342 kB / 3.056 GB, free: 111.6 MB / 0.9792 GB Notification: Performance of SimCode: time 1.153e-06/7.532, allocations: 7.906 kB / 3.056 GB, free: 111.6 MB / 0.9792 GB Notification: Performance of Templates: time 0.1711/7.703, allocations: 114.2 MB / 3.168 GB, free: 52.89 MB / 0.9792 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe 2>&1)