Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") translateModel(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.652/1.652, allocations: 293 MB / 309 MB, free: 4.797 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.000975/0.0009753, allocations: 164.6 kB / 378.7 MB, free: 1.023 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.576/1.576, allocations: 205.4 MB / 0.6383 GB, free: 9.164 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001025/0.001025, allocations: 90.75 kB / 0.7527 GB, free: 62.27 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006667/0.0006668, allocations: 16 kB / 0.8768 GB, free: 10.57 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2687, allocations: 116.4 MB / 0.9904 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.535/1.804, allocations: 421.5 MB / 1.402 GB, free: 273.1 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/1.804, allocations: 92.02 kB / 1.402 GB, free: 273.1 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.44/7.244, allocations: 1.443 GB / 2.846 GB, free: 123.5 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.494e-06/7.244, allocations: 0 / 2.846 GB, free: 123.5 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.001088/7.245, allocations: 156.7 kB / 2.846 GB, free: 123.5 MB / 0.9792 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.02461/7.27, allocations: 5.84 MB / 2.851 GB, free: 121.6 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/7.27, allocations: 11.56 kB / 2.851 GB, free: 121.6 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006139/7.276, allocations: 0.811 MB / 2.852 GB, free: 121.3 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02003/7.296, allocations: 6.637 MB / 2.859 GB, free: 120.4 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000316/7.296, allocations: 258.5 kB / 2.859 GB, free: 120.4 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001531/7.298, allocations: 356.5 kB / 2.859 GB, free: 120.4 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0105/7.308, allocations: 5.405 MB / 2.865 GB, free: 119.6 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.185e-05/7.308, allocations: 16.31 kB / 2.865 GB, free: 119.6 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006124/7.309, allocations: 146.2 kB / 2.865 GB, free: 119.6 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-05/7.309, allocations: 84.91 kB / 2.865 GB, free: 119.6 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008607/7.318, allocations: 5.067 MB / 2.87 GB, free: 119.6 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.03513/7.353, allocations: 22.6 MB / 2.892 GB, free: 109.7 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004097/7.357, allocations: 2.626 MB / 2.894 GB, free: 109.7 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002417/7.359, allocations: 1.814 MB / 2.896 GB, free: 109.7 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01296/7.372, allocations: 6.972 MB / 2.903 GB, free: 107.4 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002556/7.375, allocations: 1.839 MB / 2.905 GB, free: 107.3 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007091/7.382, allocations: 2.032 MB / 2.907 GB, free: 107.2 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=156): time 1.272e-05/7.382, allocations: 0 / 2.907 GB, free: 107.2 MB / 0.9792 GB Notification: Performance of matching and sorting (n=156): time 0.01798/7.4, allocations: 6.988 MB / 2.914 GB, free: 106.6 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.759e-05/7.4, allocations: 153.6 kB / 2.914 GB, free: 106.4 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00815/7.408, allocations: 4.804 MB / 2.918 GB, free: 106.1 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0007972/7.409, allocations: 73.22 kB / 2.918 GB, free: 106 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.002221/7.412, allocations: 2.435 MB / 2.921 GB, free: 105.3 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009269/7.412, allocations: 0.5534 MB / 2.921 GB, free: 104.9 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002113/7.413, allocations: 56.53 kB / 2.921 GB, free: 104.9 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.000151/7.413, allocations: 413.3 kB / 2.922 GB, free: 104.6 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002266/7.415, allocations: 1.53 MB / 2.923 GB, free: 104.6 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002948/7.418, allocations: 2.841 MB / 2.926 GB, free: 103 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005212/7.423, allocations: 4.282 MB / 2.93 GB, free: 101.8 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-05/7.423, allocations: 12.25 kB / 2.93 GB, free: 101.8 MB / 0.9792 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.01071/7.434, allocations: 5.66 MB / 2.936 GB, free: 101.4 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007965/7.435, allocations: 1.09 MB / 2.937 GB, free: 100.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-05/7.435, allocations: 33.78 kB / 2.937 GB, free: 100.1 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06716/7.502, allocations: 11.57 MB / 2.948 GB, free: 100.1 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003199/7.505, allocations: 0.6472 MB / 2.949 GB, free: 100.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007862/7.513, allocations: 4.734 MB / 2.953 GB, free: 98.51 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006532/7.52, allocations: 356.4 kB / 2.954 GB, free: 98.47 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009436/7.521, allocations: 162.2 kB / 2.954 GB, free: 98.47 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/7.521, allocations: 4.031 kB / 2.954 GB, free: 98.47 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009737/7.531, allocations: 5.034 MB / 2.959 GB, free: 98.36 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001243/7.531, allocations: 34.33 kB / 2.959 GB, free: 98.36 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06585/7.597, allocations: 11.38 MB / 2.97 GB, free: 97.87 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003291/7.6, allocations: 0.6352 MB / 2.971 GB, free: 97.87 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01092/7.611, allocations: 7.732 MB / 2.978 GB, free: 94.54 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007677/7.619, allocations: 333.8 kB / 2.978 GB, free: 94.49 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001054/7.62, allocations: 154.4 kB / 2.979 GB, free: 94.48 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.005551/7.625, allocations: 1.556 MB / 2.98 GB, free: 94.27 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002049/7.627, allocations: 462.3 kB / 2.981 GB, free: 94.03 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007647/7.635, allocations: 4.585 MB / 2.985 GB, free: 93.82 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.007e-05/7.635, allocations: 19.19 kB / 2.985 GB, free: 93.82 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/7.635, allocations: 0 / 2.985 GB, free: 93.82 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01713/7.652, allocations: 7.331 MB / 2.992 GB, free: 92.42 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.03195/7.684, allocations: 13.21 MB / 3.005 GB, free: 91.14 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.845e-05/7.684, allocations: 0.75 kB / 3.005 GB, free: 91.14 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002244/7.687, allocations: 376.3 kB / 3.006 GB, free: 91.14 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05943/7.746, allocations: 11.64 MB / 3.017 GB, free: 90.35 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000571/7.747, allocations: 46.91 kB / 3.017 GB, free: 90.35 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005583/7.752, allocations: 4.116 MB / 3.021 GB, free: 88.77 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/7.752, allocations: 3.703 kB / 3.021 GB, free: 88.77 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02411/7.776, allocations: 9.676 MB / 3.03 GB, free: 88.21 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004487/7.781, allocations: 1.056 MB / 3.031 GB, free: 87.87 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002209/7.783, allocations: 39.48 kB / 3.031 GB, free: 87.87 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005374/7.789, allocations: 285.7 kB / 3.032 GB, free: 87.82 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004841/7.789, allocations: 103 kB / 3.032 GB, free: 87.82 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003625/7.789, allocations: 85.81 kB / 3.032 GB, free: 87.82 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.006498/7.796, allocations: 3.274 MB / 3.035 GB, free: 87.64 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6.81e-07/7.796, allocations: 0 / 3.035 GB, free: 87.64 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.01386/7.81, allocations: 2.791 MB / 3.038 GB, free: 87.33 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.002877/7.813, allocations: 1.221 MB / 3.039 GB, free: 86.95 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01549/7.828, allocations: 7.357 MB / 3.046 GB, free: 86.39 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.186e-05/7.828, allocations: 4.641 kB / 3.046 GB, free: 86.39 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.005108/7.833, allocations: 2.482 MB / 3.049 GB, free: 86.35 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01685/7.85, allocations: 2.699 MB / 3.051 GB, free: 86.21 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01927/7.87, allocations: 11.02 MB / 3.062 GB, free: 81.97 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002889/7.873, allocations: 3.212 MB / 3.065 GB, free: 81.14 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.007351/7.88, allocations: 1.671 MB / 3.067 GB, free: 80.94 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001453/7.882, allocations: 362.9 kB / 3.067 GB, free: 80.93 MB / 0.9792 GB Notification: Performance of SimCode: time 7.62e-07/7.882, allocations: 0 / 3.067 GB, free: 80.93 MB / 0.9792 GB Notification: Performance of Templates: time 0.1713/8.053, allocations: 114.1 MB / 3.179 GB, free: 8.973 MB / 0.9792 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.sim & ./Buildings_8_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe 2>&1)