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.474/2.474, allocations: 285 MB / 292.5 MB, free: 10.51 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.001465/0.001465, allocations: 184.8 kB / 360.7 MB, free: 7.227 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 1.908/1.908, allocations: 205.3 MB / 0.6192 GB, free: 12.14 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001079/0.001078, allocations: 86.45 kB / 0.7322 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.575e-05/1.575e-05, allocations: 0 / 0.8509 GB, free: 3.367 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8175/0.8175, allocations: 115.3 MB / 0.9634 GB, free: 78.4 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.319/2.137, allocations: 419.4 MB / 1.373 GB, free: 148.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/2.137, allocations: 87.39 kB / 1.373 GB, free: 148.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 7.861/9.999, allocations: 1.441 GB / 2.814 GB, free: 138.9 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.076e-06/9.999, allocations: 0 / 2.814 GB, free: 138.9 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.001112/10, allocations: 153.8 kB / 2.814 GB, free: 138.8 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.01903/10.02, allocations: 4.581 MB / 2.819 GB, free: 137 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/10.02, allocations: 8.594 kB / 2.819 GB, free: 137 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006943/10.03, allocations: 0.8047 MB / 2.82 GB, free: 136.7 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02745/10.05, allocations: 6.759 MB / 2.826 GB, free: 135.9 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002847/10.05, allocations: 104 kB / 2.826 GB, free: 135.9 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001677/10.06, allocations: 210.2 kB / 2.827 GB, free: 135.9 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01324/10.07, allocations: 4.738 MB / 2.831 GB, free: 135.9 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01498/10.08, allocations: 4.81 MB / 2.836 GB, free: 135.2 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001151/10.08, allocations: 9.531 kB / 2.836 GB, free: 135.2 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007616/10.08, allocations: 11.62 kB / 2.836 GB, free: 135.2 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.58e-05/10.08, allocations: 82.88 kB / 2.836 GB, free: 135.2 MB / 0.9636 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.05264/10.14, allocations: 22.08 MB / 2.858 GB, free: 125.3 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00645/10.14, allocations: 2.658 MB / 2.86 GB, free: 125.3 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003475/10.15, allocations: 1.694 MB / 2.862 GB, free: 125.2 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02085/10.17, allocations: 6.903 MB / 2.869 GB, free: 123 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004182/10.17, allocations: 1.73 MB / 2.87 GB, free: 122.9 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01094/10.18, allocations: 1.955 MB / 2.872 GB, free: 122.8 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=157): time 2.103e-05/10.18, allocations: 0 / 2.872 GB, free: 122.8 MB / 0.9636 GB Notification: Performance of matching and sorting (n=157): time 0.04285/10.23, allocations: 6.213 MB / 2.878 GB, free: 122.5 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.848e-05/10.23, allocations: 156.4 kB / 2.878 GB, free: 122.3 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01046/10.24, allocations: 3.955 MB / 2.882 GB, free: 122 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0008268/10.24, allocations: 33.36 kB / 2.882 GB, free: 122 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.003535/10.24, allocations: 2.439 MB / 2.885 GB, free: 121.1 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.001219/10.24, allocations: 0.5413 MB / 2.885 GB, free: 120.8 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003562/10.24, allocations: 0 / 2.885 GB, free: 120.8 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002074/10.24, allocations: 412.1 kB / 2.886 GB, free: 120.5 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003323/10.25, allocations: 1.451 MB / 2.887 GB, free: 120.5 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004617/10.25, allocations: 2.737 MB / 2.89 GB, free: 118.9 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0119/10.26, allocations: 2.51 MB / 2.892 GB, free: 118.9 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.538e-05/10.26, allocations: 10.47 kB / 2.892 GB, free: 118.9 MB / 0.9636 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.06969/10.33, allocations: 8.394 MB / 2.9 GB, free: 117.2 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.003458/10.34, allocations: 15.03 MB / 2.915 GB, free: 101.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001743/10.34, allocations: 33.84 kB / 2.915 GB, free: 101.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06734/10.4, allocations: 6.213 MB / 2.921 GB, free: 100.4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005547/10.41, allocations: 0.6936 MB / 2.922 GB, free: 100.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01976/10.43, allocations: 5.533 MB / 2.927 GB, free: 97.66 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008154/10.44, allocations: 303.6 kB / 2.927 GB, free: 97.61 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009984/10.44, allocations: 150.7 kB / 2.928 GB, free: 97.59 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/10.44, allocations: 3.688 kB / 2.928 GB, free: 97.59 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06597/10.5, allocations: 7.691 MB / 2.935 GB, free: 95.73 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001332/10.51, allocations: 44.78 kB / 2.935 GB, free: 95.73 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06742/10.57, allocations: 6.152 MB / 2.941 GB, free: 94.96 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005272/10.58, allocations: 0.6892 MB / 2.942 GB, free: 94.89 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0237/10.6, allocations: 8.226 MB / 2.95 GB, free: 90.14 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007394/10.61, allocations: 288.3 kB / 2.95 GB, free: 90.09 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007839/10.61, allocations: 153.2 kB / 2.95 GB, free: 90.07 MB / 0.9636 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 () * 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.00106/10.61, allocations: 208.8 kB / 2.95 GB, free: 89.89 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001648/10.61, allocations: 437.4 kB / 2.951 GB, free: 89.66 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02723/10.64, allocations: 5.72 MB / 2.956 GB, free: 87.57 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.714e-05/10.64, allocations: 16.66 kB / 2.956 GB, free: 87.57 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/10.64, allocations: 0 / 2.956 GB, free: 87.57 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0289/10.67, allocations: 6.867 MB / 2.963 GB, free: 82.82 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05601/10.73, allocations: 13.1 MB / 2.976 GB, free: 69.67 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-05/10.73, allocations: 0 / 2.976 GB, free: 69.67 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004474/10.73, allocations: 430.5 kB / 2.976 GB, free: 69.25 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008131/10.74, allocations: 2.443 MB / 2.979 GB, free: 66.82 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000523/10.74, allocations: 27.97 kB / 2.979 GB, free: 66.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01671/10.76, allocations: 4.809 MB / 2.983 GB, free: 61.91 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.185e-06/10.76, allocations: 0 / 2.983 GB, free: 61.91 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04837/10.8, allocations: 10.01 MB / 2.993 GB, free: 51.87 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004839/10.81, allocations: 1.065 MB / 2.994 GB, free: 50.78 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001951/10.81, allocations: 15.88 kB / 2.994 GB, free: 50.76 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007222/10.82, allocations: 267.1 kB / 2.995 GB, free: 50.5 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007262/10.82, allocations: 113.1 kB / 2.995 GB, free: 50.39 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004499/10.82, allocations: 75.94 kB / 2.995 GB, free: 50.31 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.007089/10.83, allocations: 2.978 MB / 2.998 GB, free: 47.34 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7.72e-07/10.83, allocations: 4 kB / 2.998 GB, free: 47.34 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01632/10.84, allocations: 2.732 MB / 3 GB, free: 44.6 MB / 0.9636 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) * 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.003826/10.85, allocations: 1.188 MB / 3.002 GB, free: 43.55 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.02608/10.87, allocations: 7.1 MB / 3.008 GB, free: 36.41 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.321e-05/10.87, allocations: 5.016 kB / 3.008 GB, free: 36.41 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.009342/10.88, allocations: 2.383 MB / 3.011 GB, free: 34.02 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01998/10.9, allocations: 2.407 MB / 3.013 GB, free: 31.71 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02095/10.92, allocations: 7.549 MB / 3.02 GB, free: 24.12 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005368/10.93, allocations: 3.313 MB / 3.024 GB, free: 20.77 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0169/10.95, allocations: 2.786 MB / 3.026 GB, free: 18.09 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001665/10.95, allocations: 255.3 kB / 3.027 GB, free: 17.84 MB / 0.9636 GB Notification: Performance of SimCode: time 1.884e-06/10.95, allocations: 0 / 3.027 GB, free: 17.84 MB / 0.9636 GB Notification: Performance of Templates: time 1.081/12.03, allocations: 105.5 MB / 3.13 GB, free: 152.7 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)