Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00229/0.00229, allocations: 80.55 kB / 19.95 MB, free: 4.602 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002862/0.002862, allocations: 173.2 kB / 23.23 MB, free: 1.328 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.667/1.667, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.21/3.21, allocations: 389.5 MB / 0.6343 GB, free: 12.62 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") translateModel(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 1.001 GB, free: 13.08 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.337e-05/3.506e-05, allocations: 2.281 kB / 1.001 GB, free: 13.07 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.7803/0.7804, allocations: 76.65 MB / 1.076 GB, free: 42.21 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.03169/0.8121, allocations: 19.89 MB / 1.095 GB, free: 29.19 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006293/0.8184, allocations: 151.8 kB / 1.095 GB, free: 29.11 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.00751/0.8259, allocations: 2.017 MB / 1.097 GB, free: 28.19 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.01079/0.8366, allocations: 3.236 MB / 1.101 GB, free: 26.27 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.008636/0.8453, allocations: 2.773 MB / 1.103 GB, free: 24.84 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.02955/0.8748, allocations: 21.6 MB / 1.124 GB, free: 15.27 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01193/0.8868, allocations: 5.477 MB / 1.13 GB, free: 12.7 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03226/0.919, allocations: 9.354 MB / 1.139 GB, free: 8.918 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01633/0.9354, allocations: 5.602 MB / 1.144 GB, free: 6.879 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.004448/0.9398, allocations: 0.6008 MB / 1.145 GB, free: 6.879 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01117/0.951, allocations: 1.605 MB / 1.147 GB, free: 6.59 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.005543/0.9565, allocations: 2.038 MB / 1.149 GB, free: 5.395 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.01391/0.9704, allocations: 2.72 MB / 1.151 GB, free: 4.277 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.02563/0.9961, allocations: 10.59 MB / 1.162 GB, free: 288 kB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.9961, allocations: 0 / 1.162 GB, free: 288 kB / 0.9948 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9961, allocations: 0 / 1.162 GB, free: 288 kB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0005083/0.9966, allocations: 0 / 1.162 GB, free: 288 kB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 955 * Number of variables: 955 Notification: Performance of Generate backend data structure: time 0.03291/1.029, allocations: 7.65 MB / 1.169 GB, free: 10.98 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 6.105e-05/1.03, allocations: 9.781 kB / 1.169 GB, free: 10.98 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02639/1.056, allocations: 3.695 MB / 1.173 GB, free: 9.379 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02355/1.079, allocations: 7.136 MB / 1.18 GB, free: 4.957 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006686/1.08, allocations: 295.2 kB / 1.18 GB, free: 4.824 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002492/1.083, allocations: 397 kB / 1.18 GB, free: 4.695 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02629/1.109, allocations: 8.278 MB / 1.188 GB, free: 13.82 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001085/1.109, allocations: 11.88 kB / 1.188 GB, free: 13.81 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009736/1.11, allocations: 168 kB / 1.188 GB, free: 13.64 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003761/1.11, allocations: 92 kB / 1.189 GB, free: 13.55 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02971/1.14, allocations: 8.145 MB / 1.197 GB, free: 5.398 MB / 1.026 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.05797/1.198, allocations: 21.79 MB / 1.218 GB, free: 14.98 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0146/1.213, allocations: 4.25 MB / 1.222 GB, free: 10.74 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01166/1.224, allocations: 2.992 MB / 1.225 GB, free: 7.742 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02041/1.245, allocations: 6.906 MB / 1.232 GB, free: 0.668 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01277/1.258, allocations: 3.989 MB / 1.236 GB, free: 12.5 MB / 1.073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007926/1.265, allocations: 1.353 MB / 1.237 GB, free: 11.15 MB / 1.073 GB Notification: Performance of pre-optimization done (n=222): time 1.465e-05/1.265, allocations: 0 / 1.237 GB, free: 11.15 MB / 1.073 GB Notification: Performance of matching and sorting (n=222): time 0.294/1.559, allocations: 47.25 MB / 1.283 GB, free: 11.83 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.368e-05/1.56, allocations: 73.41 kB / 1.283 GB, free: 11.75 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.012/1.572, allocations: 5.658 MB / 1.289 GB, free: 6.074 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.001026/1.573, allocations: 77.7 kB / 1.289 GB, free: 5.992 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.004105/1.577, allocations: 2.96 MB / 1.292 GB, free: 3.016 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.002181/1.579, allocations: 0.8134 MB / 1.292 GB, free: 2.195 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001754/1.581, allocations: 0.784 MB / 1.293 GB, free: 1.402 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.0001528/1.581, allocations: 301.1 kB / 1.293 GB, free: 1.105 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01119/1.592, allocations: 3.019 MB / 1.296 GB, free: 14.07 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01324/1.605, allocations: 4.997 MB / 1.301 GB, free: 8.332 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02306/1.628, allocations: 7.07 MB / 1.308 GB, free: 0.75 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.68e-05/1.628, allocations: 15.88 kB / 1.308 GB, free: 0.7344 MB / 1.135 GB Notification: Performance of matching and sorting (n=413) (initialization): time 0.06548/1.694, allocations: 13.49 MB / 1.321 GB, free: 3.152 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.877e-05/1.694, allocations: 53.62 kB / 1.321 GB, free: 3.094 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.997e-05/1.694, allocations: 36 kB / 1.321 GB, free: 3.059 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0752/1.769, allocations: 13.88 MB / 1.335 GB, free: 5.156 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005028/1.774, allocations: 0.8541 MB / 1.336 GB, free: 4.301 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1777/1.952, allocations: 40.14 MB / 1.375 GB, free: 11.98 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0102/1.962, allocations: 0.7376 MB / 1.376 GB, free: 11.24 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001417/1.964, allocations: 231.7 kB / 1.376 GB, free: 11.01 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01914/1.983, allocations: 4.553 MB / 1.38 GB, free: 6.445 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01393/1.997, allocations: 4.947 MB / 1.385 GB, free: 0.7578 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02421/2.021, allocations: 6.988 MB / 1.392 GB, free: 9.285 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.283e-05/2.021, allocations: 8 kB / 1.392 GB, free: 9.277 MB / 1.229 GB Notification: Performance of matching and sorting (n=413) (initialization_lambda0): time 0.04808/2.069, allocations: 10.71 MB / 1.403 GB, free: 14.53 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 0.000115/2.069, allocations: 49.7 kB / 1.403 GB, free: 14.47 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.68e-05/2.069, allocations: 36.91 kB / 1.403 GB, free: 14.44 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07496/2.144, allocations: 13.64 MB / 1.416 GB, free: 0.7656 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004435/2.149, allocations: 0.8503 MB / 1.417 GB, free: 15.91 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1901/2.339, allocations: 43.2 MB / 1.459 GB, free: 4.379 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0106/2.349, allocations: 0.7417 MB / 1.46 GB, free: 3.637 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001593/2.351, allocations: 219.8 kB / 1.46 GB, free: 3.422 MB / 1.292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 153 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (350): * Single equations (assignments): 345 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(11,25), (10,11), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.002708/2.354, allocations: 399.9 kB / 1.46 GB, free: 3.023 MB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003601/2.357, allocations: 0.559 MB / 1.461 GB, free: 2.461 MB / 1.292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08495/2.442, allocations: 15.64 MB / 1.476 GB, free: 2.742 MB / 1.307 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001096/2.442, allocations: 39.92 kB / 1.476 GB, free: 2.703 MB / 1.307 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.52e-05/2.442, allocations: 0 / 1.476 GB, free: 2.703 MB / 1.307 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.09123/2.533, allocations: 16.57 MB / 1.492 GB, free: 1.812 MB / 1.323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.149/2.682, allocations: 21.07 MB / 1.513 GB, free: 12.55 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.723e-05/2.682, allocations: 64 / 1.513 GB, free: 12.55 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003068/2.686, allocations: 479.4 kB / 1.513 GB, free: 12.08 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03454/2.72, allocations: 7.003 MB / 1.52 GB, free: 5.062 MB / 1.354 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008589/2.721, allocations: 87.86 kB / 1.52 GB, free: 4.977 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1434/2.864, allocations: 28.37 MB / 1.548 GB, free: 8.43 MB / 1.385 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.486e-06/2.864, allocations: 3.938 kB / 1.548 GB, free: 8.426 MB / 1.385 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1056/2.97, allocations: 19.94 MB / 1.567 GB, free: 4.363 MB / 1.401 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004991/2.975, allocations: 1.069 MB / 1.568 GB, free: 3.289 MB / 1.401 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00285/2.978, allocations: 55.98 kB / 1.569 GB, free: 3.234 MB / 1.401 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008891/2.987, allocations: 0.6516 MB / 1.569 GB, free: 2.582 MB / 1.401 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001147/2.988, allocations: 185.7 kB / 1.569 GB, free: 2.398 MB / 1.401 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009386/2.989, allocations: 119.9 kB / 1.569 GB, free: 2.281 MB / 1.401 GB Notification: Performance of sorting global known variables: time 0.5578/3.547, allocations: 3.843 MB / 1.573 GB, free: 470.5 MB / 1.401 GB Notification: Performance of sort global known variables: time 2.1e-07/3.547, allocations: 3.938 kB / 1.573 GB, free: 470.5 MB / 1.401 GB Notification: Performance of remove unused functions: time 0.01352/3.56, allocations: 3.377 MB / 1.577 GB, free: 470.5 MB / 1.401 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 13 (pump.vol.dynBal.U,hea.outCon.T,val.actPos.y,senTem[1].T,senTem[2].T,senTem[3].T,senTem[4].T,senTem[5].T,senTem[6].T,senTem[7].T,senTem[8].T,senTem[9].T,senTem[10].T) * 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 (212): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 24 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(11,15), (2,5), (10,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001596/3.562, allocations: 0.5077 MB / 1.577 GB, free: 470.4 MB / 1.401 GB Notification: Performance of simCode: created initialization part: time 0.03391/3.596, allocations: 11.63 MB / 1.588 GB, free: 468.6 MB / 1.401 GB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/3.596, allocations: 2.625 kB / 1.588 GB, free: 468.6 MB / 1.401 GB Notification: Performance of simCode: created simulation system equations: time 0.01265/3.608, allocations: 3.637 MB / 1.592 GB, free: 467.7 MB / 1.401 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01744/3.626, allocations: 3.15 MB / 1.595 GB, free: 467 MB / 1.401 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03215/3.658, allocations: 13.35 MB / 1.608 GB, free: 461.8 MB / 1.401 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004135/3.662, allocations: 3.423 MB / 1.611 GB, free: 461.1 MB / 1.401 GB Notification: Performance of simCode: alias equations: time 0.008224/3.67, allocations: 2.113 MB / 1.613 GB, free: 460.6 MB / 1.401 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001791/3.672, allocations: 466.7 kB / 1.614 GB, free: 460.6 MB / 1.401 GB Notification: Performance of SimCode: time 2.094e-06/3.672, allocations: 0 / 1.614 GB, free: 460.6 MB / 1.401 GB Notification: Performance of Templates: time 0.218/3.89, allocations: 168.8 MB / 1.779 GB, free: 333.1 MB / 1.401 GB " [Timeout remaining time 296] make -j1 -f Buildings_13_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; mkfifo Buildings_13_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe >> ../files/Buildings_13_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.sim & ./Buildings_13_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 17.90705217514187]