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.517/2.517, allocations: 284.8 MB / 297.3 MB, free: 6.355 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.001525/0.001525, allocations: 184.9 kB / 365.7 MB, free: 2.598 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.904/1.904, allocations: 205.1 MB / 0.6241 GB, free: 8.203 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.001145/0.001146, allocations: 103.4 kB / 0.7372 GB, free: 40.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.274e-05/3.283e-05, allocations: 7.984 kB / 0.8574 GB, free: 13.72 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8462/0.8462, allocations: 115.2 MB / 0.97 GB, free: 78.19 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.314/2.16, allocations: 420.1 MB / 1.38 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003198/2.161, allocations: 87.61 kB / 1.38 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 7.814/9.975, allocations: 1.449 GB / 2.829 GB, free: 139.2 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.284e-06/9.975, allocations: 0 / 2.829 GB, free: 139.2 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.001045/9.976, allocations: 156.9 kB / 2.829 GB, free: 139.2 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.01771/9.994, allocations: 4.585 MB / 2.834 GB, free: 137.4 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/9.994, allocations: 7.656 kB / 2.834 GB, free: 137.4 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006495/10, allocations: 0.8012 MB / 2.835 GB, free: 137 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02502/10.03, allocations: 6.765 MB / 2.841 GB, free: 136.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002951/10.03, allocations: 261.1 kB / 2.842 GB, free: 136.2 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001226/10.03, allocations: 351.7 kB / 2.842 GB, free: 136.2 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01336/10.04, allocations: 5.275 MB / 2.847 GB, free: 135.5 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001072/10.04, allocations: 16.53 kB / 2.847 GB, free: 135.5 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007671/10.04, allocations: 149.2 kB / 2.847 GB, free: 135.5 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.339e-05/10.04, allocations: 81.25 kB / 2.847 GB, free: 135.5 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01256/10.05, allocations: 4.919 MB / 2.852 GB, free: 135.4 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.05145/10.11, allocations: 22.7 MB / 2.874 GB, free: 125.3 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006483/10.11, allocations: 2.616 MB / 2.877 GB, free: 125.3 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003545/10.12, allocations: 1.705 MB / 2.878 GB, free: 125.3 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01826/10.13, allocations: 7.015 MB / 2.885 GB, free: 123 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003834/10.14, allocations: 1.798 MB / 2.887 GB, free: 122.9 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01066/10.15, allocations: 2.03 MB / 2.889 GB, free: 122.8 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=157): time 1.245e-05/10.15, allocations: 0 / 2.889 GB, free: 122.8 MB / 0.9636 GB Notification: Performance of matching and sorting (n=157): time 0.03319/10.18, allocations: 5.565 MB / 2.894 GB, free: 122.3 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/10.18, allocations: 152.1 kB / 2.895 GB, free: 122.1 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009958/10.19, allocations: 4.507 MB / 2.899 GB, free: 120.6 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0007595/10.19, allocations: 72.39 kB / 2.899 GB, free: 120.6 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.002917/10.2, allocations: 2.457 MB / 2.901 GB, free: 118.7 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.00108/10.2, allocations: 0.5491 MB / 2.902 GB, free: 118.3 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003003/10.2, allocations: 55.08 kB / 2.902 GB, free: 118.2 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001786/10.2, allocations: 421.3 kB / 2.902 GB, free: 117.9 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00329/10.2, allocations: 1.463 MB / 2.904 GB, free: 117.3 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004106/10.2, allocations: 2.768 MB / 2.907 GB, free: 115.1 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004371/10.21, allocations: 1.945 MB / 2.908 GB, free: 114.4 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.451e-05/10.21, allocations: 9.75 kB / 2.909 GB, free: 114.4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.05873/10.27, allocations: 7.973 MB / 2.916 GB, free: 112.2 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.003499/10.27, allocations: 15.28 MB / 2.931 GB, free: 95.55 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001247/10.27, allocations: 34.19 kB / 2.931 GB, free: 95.55 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.187/10.46, allocations: 15.4 MB / 2.946 GB, free: 93.98 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005485/10.46, allocations: 0.6996 MB / 2.947 GB, free: 93.92 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01286/10.48, allocations: 4.715 MB / 2.952 GB, free: 91.48 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008147/10.49, allocations: 364.1 kB / 2.952 GB, free: 91.39 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008089/10.49, allocations: 157.3 kB / 2.952 GB, free: 91.36 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/10.49, allocations: 3.969 kB / 2.952 GB, free: 91.36 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05688/10.54, allocations: 7.453 MB / 2.959 GB, free: 87.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001091/10.54, allocations: 37 kB / 2.959 GB, free: 87.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1875/10.73, allocations: 15.32 MB / 2.974 GB, free: 72.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005393/10.74, allocations: 0.6864 MB / 2.975 GB, free: 71.41 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01781/10.75, allocations: 7.697 MB / 2.983 GB, free: 63.42 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00782/10.76, allocations: 346.4 kB / 2.983 GB, free: 63.08 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009662/10.76, allocations: 155.9 kB / 2.983 GB, free: 62.93 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.001155/10.76, allocations: 292.4 kB / 2.983 GB, free: 62.64 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001731/10.77, allocations: 462.3 kB / 2.984 GB, free: 62.18 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04086/10.81, allocations: 6.589 MB / 2.99 GB, free: 55.61 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.521e-05/10.81, allocations: 16 kB / 2.99 GB, free: 55.59 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/10.81, allocations: 3.984 kB / 2.99 GB, free: 55.59 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02207/10.83, allocations: 6.381 MB / 2.996 GB, free: 48.96 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04972/10.88, allocations: 13.03 MB / 3.009 GB, free: 35.88 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.729e-05/10.88, allocations: 4.062 kB / 3.009 GB, free: 35.88 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004487/10.88, allocations: 423.5 kB / 3.01 GB, free: 35.46 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1304/11.01, allocations: 11.64 MB / 3.021 GB, free: 23.89 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005625/11.01, allocations: 43.97 kB / 3.021 GB, free: 23.84 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01026/11.02, allocations: 4.125 MB / 3.025 GB, free: 19.64 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/11.02, allocations: 0 / 3.025 GB, free: 19.64 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03234/11.06, allocations: 9.023 MB / 3.034 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004825/11.06, allocations: 1.104 MB / 3.035 GB, free: 9.457 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001932/11.06, allocations: 32 kB / 3.035 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007572/11.07, allocations: 299.1 kB / 3.035 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006844/11.07, allocations: 105.2 kB / 3.035 GB, free: 9.035 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004401/11.07, allocations: 79.92 kB / 3.035 GB, free: 8.957 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.008553/11.08, allocations: 3.464 MB / 3.039 GB, free: 5.508 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7.81e-07/11.08, allocations: 0 / 3.039 GB, free: 5.508 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01438/11.1, allocations: 2.828 MB / 3.042 GB, free: 2.68 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.003468/11.1, allocations: 1.243 MB / 3.043 GB, free: 1.566 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.02834/11.13, allocations: 7.356 MB / 3.05 GB, free: 10.16 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.595e-05/11.13, allocations: 5.016 kB / 3.05 GB, free: 10.16 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0101/11.14, allocations: 2.418 MB / 3.052 GB, free: 7.742 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02333/11.16, allocations: 2.711 MB / 3.055 GB, free: 5.109 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7592/11.92, allocations: 7.733 MB / 3.062 GB, free: 154 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006506/11.93, allocations: 3.316 MB / 3.066 GB, free: 153.2 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.01852/11.95, allocations: 2.997 MB / 3.069 GB, free: 153.2 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001758/11.95, allocations: 261.2 kB / 3.069 GB, free: 153.2 MB / 0.9792 GB Notification: Performance of SimCode: time 1.243e-06/11.95, allocations: 1.531 kB / 3.069 GB, free: 153.2 MB / 0.9792 GB Notification: Performance of Templates: time 0.2952/12.24, allocations: 124.2 MB / 3.19 GB, free: 148 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)