Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") translateModel(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.32/2.32, allocations: 251.3 MB / 266.2 MB, free: 11.51 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001387/0.001386, allocations: 181.3 kB / 325.8 MB, free: 2.77 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.313/2.313, allocations: 205.4 MB / 0.5767 GB, free: 20.68 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009747/0.0009742, allocations: 92.28 kB / 0.6812 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000503/0.000503, allocations: 15.31 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2089, allocations: 106.2 MB / 0.899 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.09754/0.3065, allocations: 74.42 MB / 0.9717 GB, free: 6.777 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.05503/0.3616, allocations: 20.96 MB / 0.9922 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004226/0.3659, allocations: 91.31 kB / 0.9923 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.004886/0.3708, allocations: 0.8074 MB / 0.993 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.009871/0.3807, allocations: 2.268 MB / 0.9953 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.01259/0.3933, allocations: 2.82 MB / 0.998 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.03177/0.4251, allocations: 17.55 MB / 1.015 GB, free: 10.21 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01405/0.4393, allocations: 5.583 MB / 1.021 GB, free: 4.566 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01363/0.4529, allocations: 4.626 MB / 1.025 GB, free: 15.92 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01196/0.465, allocations: 4.591 MB / 1.03 GB, free: 11.31 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.002351/0.4674, allocations: 260 kB / 1.03 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007783/0.4752, allocations: 1.323 MB / 1.031 GB, free: 9.734 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.00534/0.4806, allocations: 1.218 MB / 1.032 GB, free: 8.512 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.005221/0.4859, allocations: 1.108 MB / 1.033 GB, free: 7.395 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0139/0.4999, allocations: 6.878 MB / 1.04 GB, free: 0.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.063e-05/0.4999, allocations: 4 kB / 1.04 GB, free: 0.4961 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.865e-06/0.5, allocations: 4 kB / 1.04 GB, free: 0.4922 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003147/0.5003, allocations: 0 / 1.04 GB, free: 0.4922 MB / 0.6823 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.02031/0.5206, allocations: 5.412 MB / 1.045 GB, free: 10.99 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.5207, allocations: 8.031 kB / 1.045 GB, free: 10.98 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006752/0.5274, allocations: 0.8443 MB / 1.046 GB, free: 10.13 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01855/0.546, allocations: 5.023 MB / 1.051 GB, free: 5.031 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005008/0.5466, allocations: 263.1 kB / 1.051 GB, free: 4.773 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002685/0.5493, allocations: 343.9 kB / 1.052 GB, free: 4.438 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6041/1.154, allocations: 5.73 MB / 1.057 GB, free: 142.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001452/1.154, allocations: 8.344 kB / 1.057 GB, free: 142.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001248/1.155, allocations: 148.1 kB / 1.057 GB, free: 142.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001163/1.155, allocations: 82.16 kB / 1.058 GB, free: 142.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01803/1.173, allocations: 5.556 MB / 1.063 GB, free: 142.8 MB / 0.698 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.06148/1.235, allocations: 24 MB / 1.086 GB, free: 128.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008847/1.244, allocations: 2.796 MB / 1.089 GB, free: 127.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005102/1.249, allocations: 1.926 MB / 1.091 GB, free: 126.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0217/1.271, allocations: 7.139 MB / 1.098 GB, free: 120.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005613/1.276, allocations: 1.948 MB / 1.1 GB, free: 119.6 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007647/1.284, allocations: 1.245 MB / 1.101 GB, free: 119.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=155): time 1.474e-05/1.284, allocations: 0 / 1.101 GB, free: 119.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=155): time 0.03851/1.322, allocations: 7.632 MB / 1.109 GB, free: 114.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/1.323, allocations: 149.8 kB / 1.109 GB, free: 114 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01076/1.333, allocations: 4.848 MB / 1.113 GB, free: 109.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0007655/1.334, allocations: 70.88 kB / 1.114 GB, free: 109.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.003753/1.338, allocations: 2.441 MB / 1.116 GB, free: 106.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001619/1.34, allocations: 0.5407 MB / 1.116 GB, free: 106.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006464/1.341, allocations: 56.7 kB / 1.116 GB, free: 106 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002649/1.342, allocations: 411.4 kB / 1.117 GB, free: 105.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00643/1.348, allocations: 1.664 MB / 1.119 GB, free: 104 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008059/1.356, allocations: 2.893 MB / 1.121 GB, free: 100.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007615/1.364, allocations: 2.1 MB / 1.123 GB, free: 98.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.297e-05/1.364, allocations: 12 kB / 1.123 GB, free: 98.39 MB / 0.698 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.02576/1.39, allocations: 6.026 MB / 1.129 GB, free: 92.34 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008388/1.391, allocations: 1.1 MB / 1.13 GB, free: 90.78 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.648e-05/1.391, allocations: 35.94 kB / 1.13 GB, free: 90.74 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.173/1.564, allocations: 11.87 MB / 1.142 GB, free: 78.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00527/1.569, allocations: 0.6655 MB / 1.143 GB, free: 78.24 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01296/1.582, allocations: 5.046 MB / 1.148 GB, free: 73.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007661/1.59, allocations: 347.7 kB / 1.148 GB, free: 72.78 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008489/1.591, allocations: 163.9 kB / 1.148 GB, free: 72.62 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/1.591, allocations: 4 kB / 1.148 GB, free: 72.61 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01437/1.605, allocations: 5.37 MB / 1.153 GB, free: 67.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.665e-05/1.605, allocations: 36 kB / 1.153 GB, free: 67.19 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.137/1.742, allocations: 11.67 MB / 1.165 GB, free: 55.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00508/1.747, allocations: 0.6435 MB / 1.165 GB, free: 54.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01791/1.765, allocations: 8.072 MB / 1.173 GB, free: 46.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00711/1.773, allocations: 323.8 kB / 1.174 GB, free: 46.22 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007947/1.773, allocations: 159.9 kB / 1.174 GB, free: 46.06 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 149 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,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.004287/1.778, allocations: 1.547 MB / 1.175 GB, free: 44.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001657/1.779, allocations: 466.3 kB / 1.176 GB, free: 44.04 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01406/1.793, allocations: 4.872 MB / 1.18 GB, free: 39.16 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.693e-05/1.794, allocations: 19.98 kB / 1.18 GB, free: 39.14 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/1.794, allocations: 0 / 1.18 GB, free: 39.14 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03353/1.827, allocations: 7.004 MB / 1.187 GB, free: 31.88 MB / 0.698 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.0536/1.881, allocations: 13.21 MB / 1.2 GB, free: 18.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.572e-05/1.881, allocations: 7.922 kB / 1.2 GB, free: 18.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004368/1.885, allocations: 371.6 kB / 1.201 GB, free: 18.22 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1976/2.083, allocations: 11.9 MB / 1.212 GB, free: 6.359 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007021/2.084, allocations: 47.95 kB / 1.212 GB, free: 6.312 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01672/2.1, allocations: 4.371 MB / 1.216 GB, free: 1.867 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/2.1, allocations: 0 / 1.216 GB, free: 1.867 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05354/2.154, allocations: 9.737 MB / 1.226 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004811/2.159, allocations: 1.077 MB / 1.227 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001764/2.161, allocations: 32 kB / 1.227 GB, free: 6.961 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007295/2.168, allocations: 291.1 kB / 1.227 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007333/2.169, allocations: 105.2 kB / 1.227 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000467/2.169, allocations: 75.94 kB / 1.228 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.009343/2.179, allocations: 3.309 MB / 1.231 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.012e-06/2.179, allocations: 0 / 1.231 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.01358/2.192, allocations: 2.711 MB / 1.233 GB, free: 0.5273 MB / 0.7136 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 (127): * Single equations (assignments): 118 * 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.00244/2.195, allocations: 0.5321 MB / 1.234 GB, free: 60 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0322/2.227, allocations: 7.556 MB / 1.241 GB, free: 8.457 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.788e-05/2.227, allocations: 4.891 kB / 1.241 GB, free: 8.449 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.01165/2.239, allocations: 2.533 MB / 1.244 GB, free: 5.918 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02611/2.265, allocations: 2.777 MB / 1.246 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02969/2.295, allocations: 11.44 MB / 1.258 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007061/2.302, allocations: 3.217 MB / 1.261 GB, free: 4.457 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.01041/2.312, allocations: 1.701 MB / 1.262 GB, free: 2.75 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002388/2.315, allocations: 351.3 kB / 1.263 GB, free: 2.406 MB / 0.7448 GB Notification: Performance of SimCode: time 1.372e-06/2.315, allocations: 0 / 1.263 GB, free: 2.406 MB / 0.7448 GB Notification: Performance of Templates: time 0.2758/2.591, allocations: 107.2 MB / 1.367 GB, free: 7.77 MB / 0.8542 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.sim & ./Buildings_7.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe 2>&1)