Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") translateModel(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.672/2.672, allocations: 287.5 MB / 302.5 MB, free: 8.289 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001561/0.001561, allocations: 173 kB / 371 MB, free: 10.77 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.195/2.195, allocations: 205.4 MB / 0.6297 GB, free: 10.48 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001479/0.001478, allocations: 103.9 kB / 0.743 GB, free: 6.469 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007587/0.0007588, allocations: 15 kB / 0.8658 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2564, allocations: 115.3 MB / 0.9784 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.335/1.592, allocations: 420.2 MB / 1.389 GB, free: 9.316 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002885/1.592, allocations: 92.58 kB / 1.389 GB, free: 9.27 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 7.907/9.499, allocations: 1.454 GB / 2.843 GB, free: 16.94 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.214e-06/9.499, allocations: 0 / 2.843 GB, free: 16.94 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.001043/9.5, allocations: 159.8 kB / 2.843 GB, free: 16.79 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.0258/9.526, allocations: 5.898 MB / 2.849 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/9.526, allocations: 12.03 kB / 2.849 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006677/9.533, allocations: 0.8019 MB / 2.85 GB, free: 9.973 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02571/9.559, allocations: 6.803 MB / 2.856 GB, free: 3.09 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003974/9.559, allocations: 262.5 kB / 2.857 GB, free: 2.832 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001547/9.561, allocations: 351.9 kB / 2.857 GB, free: 2.488 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01725/9.578, allocations: 5.389 MB / 2.862 GB, free: 12.85 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000204/9.578, allocations: 15.81 kB / 2.862 GB, free: 12.83 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001405/9.58, allocations: 144 kB / 2.862 GB, free: 12.69 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.477e-05/9.58, allocations: 80 kB / 2.862 GB, free: 12.61 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01697/9.597, allocations: 5.07 MB / 2.867 GB, free: 7.531 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.8096/10.41, allocations: 22.71 MB / 2.89 GB, free: 135.8 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01532/10.42, allocations: 2.735 MB / 2.892 GB, free: 135.7 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03248/10.45, allocations: 7.025 MB / 2.899 GB, free: 133.6 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008547/10.46, allocations: 1.835 MB / 2.901 GB, free: 133.5 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01254/10.48, allocations: 2.031 MB / 2.903 GB, free: 133.5 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=157): time 1.561e-05/10.48, allocations: 3.938 kB / 2.903 GB, free: 133.5 MB / 0.9792 GB Notification: Performance of matching and sorting (n=157): time 0.03067/10.51, allocations: 6.624 MB / 2.909 GB, free: 133 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.61e-05/10.51, allocations: 147.1 kB / 2.909 GB, free: 132.9 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01191/10.52, allocations: 4.555 MB / 2.914 GB, free: 132.6 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0008809/10.52, allocations: 74.42 kB / 2.914 GB, free: 132.5 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.00362/10.52, allocations: 2.454 MB / 2.916 GB, free: 131.9 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.001274/10.52, allocations: 0.5515 MB / 2.917 GB, free: 131.7 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004452/10.52, allocations: 54.98 kB / 2.917 GB, free: 131.7 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002145/10.52, allocations: 414.9 kB / 2.917 GB, free: 131.4 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004292/10.53, allocations: 1.525 MB / 2.919 GB, free: 131.4 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005617/10.53, allocations: 2.828 MB / 2.922 GB, free: 129.8 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005716/10.54, allocations: 1.987 MB / 2.924 GB, free: 129.7 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.557e-05/10.54, allocations: 12.44 kB / 2.924 GB, free: 129.7 MB / 0.9792 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.01876/10.56, allocations: 5.561 MB / 2.929 GB, free: 129.3 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.003696/10.56, allocations: 15.28 MB / 2.944 GB, free: 113 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001607/10.56, allocations: 35.06 kB / 2.944 GB, free: 113 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1626/10.73, allocations: 11.46 MB / 2.955 GB, free: 113 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005459/10.73, allocations: 0.6981 MB / 2.956 GB, free: 113 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01342/10.75, allocations: 4.731 MB / 2.96 GB, free: 111.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008392/10.75, allocations: 361.6 kB / 2.961 GB, free: 111.3 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001024/10.75, allocations: 160.5 kB / 2.961 GB, free: 111.3 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/10.75, allocations: 6.938 kB / 2.961 GB, free: 111.3 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01423/10.77, allocations: 5.03 MB / 2.966 GB, free: 111.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001316/10.77, allocations: 36.3 kB / 2.966 GB, free: 111.2 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1371/10.91, allocations: 11.38 MB / 2.977 GB, free: 111.2 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005301/10.91, allocations: 0.6962 MB / 2.978 GB, free: 111.2 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0184/10.93, allocations: 7.776 MB / 2.985 GB, free: 107.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007747/10.94, allocations: 344.4 kB / 2.986 GB, free: 107.8 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001018/10.94, allocations: 153.9 kB / 2.986 GB, free: 107.8 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 (287): * Single equations (assignments): 280 * 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.004938/10.94, allocations: 1.551 MB / 2.987 GB, free: 107.6 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001897/10.95, allocations: 468 kB / 2.988 GB, free: 107.4 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01417/10.96, allocations: 4.593 MB / 2.992 GB, free: 107.2 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.163e-05/10.96, allocations: 19.67 kB / 2.992 GB, free: 107.2 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/10.96, allocations: 0 / 2.992 GB, free: 107.2 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0241/10.98, allocations: 6.488 MB / 2.999 GB, free: 105.8 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05402/11.04, allocations: 13.17 MB / 3.011 GB, free: 104.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.352e-05/11.04, allocations: 64 / 3.011 GB, free: 104.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004438/11.04, allocations: 424.8 kB / 3.012 GB, free: 104.5 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1347/11.18, allocations: 11.64 MB / 3.023 GB, free: 103.7 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005836/11.18, allocations: 50.64 kB / 3.023 GB, free: 103.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01086/11.19, allocations: 4.117 MB / 3.027 GB, free: 102.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/11.19, allocations: 7.297 kB / 3.027 GB, free: 102.1 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03742/11.23, allocations: 9.176 MB / 3.036 GB, free: 101.5 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005407/11.23, allocations: 1.102 MB / 3.037 GB, free: 101.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00255/11.23, allocations: 31.22 kB / 3.037 GB, free: 101.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007771/11.24, allocations: 299.4 kB / 3.038 GB, free: 101.1 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000792/11.24, allocations: 105.8 kB / 3.038 GB, free: 101.1 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004853/11.24, allocations: 89.52 kB / 3.038 GB, free: 101.1 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.009533/11.25, allocations: 3.512 MB / 3.041 GB, free: 101 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5.91e-07/11.25, allocations: 0 / 3.041 GB, free: 101 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.01589/11.27, allocations: 2.82 MB / 3.044 GB, free: 100.8 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 (129): * Single equations (assignments): 120 * 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.003588/11.27, allocations: 1.257 MB / 3.045 GB, free: 100.5 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.02868/11.3, allocations: 7.364 MB / 3.052 GB, free: 99.97 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.287e-05/11.3, allocations: 4.797 kB / 3.052 GB, free: 99.97 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.01015/11.31, allocations: 2.483 MB / 3.055 GB, free: 99.93 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02325/11.34, allocations: 2.716 MB / 3.058 GB, free: 99.79 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02748/11.36, allocations: 11.03 MB / 3.068 GB, free: 95.52 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005662/11.37, allocations: 3.309 MB / 3.072 GB, free: 94.69 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.01062/11.38, allocations: 1.686 MB / 3.073 GB, free: 94.49 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002438/11.38, allocations: 354.7 kB / 3.073 GB, free: 94.48 MB / 0.9792 GB Notification: Performance of SimCode: time 1.422e-06/11.38, allocations: 0 / 3.073 GB, free: 94.48 MB / 0.9792 GB Notification: Performance of Templates: time 0.2637/11.65, allocations: 114.5 MB / 3.185 GB, free: 35.66 MB / 0.9792 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe 2>&1)