Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001229, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 194.5 kB / 16.14 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.906/2.906, allocations: 472.6 MB / 0.7447 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 60.95 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3233, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.06165/0.385, allocations: 60.38 MB / 1.126 GB, free: 14.34 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0217/0.4067, allocations: 14.76 MB / 1.141 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003859/0.4106, allocations: 59.62 kB / 1.141 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002501/0.4132, allocations: 0.5827 MB / 1.142 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006476/0.4197, allocations: 2.08 MB / 1.144 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004462/0.4242, allocations: 1.499 MB / 1.145 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.006572/0.4308, allocations: 5.273 MB / 1.15 GB, free: 6.043 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001889/0.4328, allocations: 1.059 MB / 1.151 GB, free: 4.949 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002982/0.4358, allocations: 1.353 MB / 1.153 GB, free: 3.59 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001934/0.4377, allocations: 1.077 MB / 1.154 GB, free: 2.508 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.000322/0.438, allocations: 68 kB / 1.154 GB, free: 2.441 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003683/0.4417, allocations: 1.598 MB / 1.155 GB, free: 0.8398 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004384/0.4422, allocations: 274.7 kB / 1.155 GB, free: 0.5703 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001214/0.4434, allocations: 0.7152 MB / 1.156 GB, free: 15.85 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004185/0.4476, allocations: 2.649 MB / 1.159 GB, free: 13.2 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.4476, allocations: 0 / 1.159 GB, free: 13.2 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4476, allocations: 4 kB / 1.159 GB, free: 13.19 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.258e-05/0.4477, allocations: 0 / 1.159 GB, free: 13.19 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.003734/0.4514, allocations: 1.838 MB / 1.161 GB, free: 11.3 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.4515, allocations: 16.02 kB / 1.161 GB, free: 11.29 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005485/0.452, allocations: 155.2 kB / 1.161 GB, free: 11.13 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002474/0.4545, allocations: 1.309 MB / 1.162 GB, free: 9.766 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.116e-05/0.4546, allocations: 62 kB / 1.162 GB, free: 9.707 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/0.4547, allocations: 88 kB / 1.162 GB, free: 9.621 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001706/0.4565, allocations: 0.9513 MB / 1.163 GB, free: 8.621 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.099e-05/0.4565, allocations: 4 kB / 1.163 GB, free: 8.617 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.988e-05/0.4566, allocations: 36 kB / 1.163 GB, free: 8.582 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.812e-05/0.4566, allocations: 24 kB / 1.163 GB, free: 8.559 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/0.4579, allocations: 0.6713 MB / 1.164 GB, free: 7.891 MB / 0.92 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.005761/0.4637, allocations: 5.209 MB / 1.169 GB, free: 2.262 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007439/0.4644, allocations: 404.3 kB / 1.169 GB, free: 1.855 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003679/0.4648, allocations: 243.6 kB / 1.169 GB, free: 1.617 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001369/0.4662, allocations: 1.591 MB / 1.171 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.4662, allocations: 42.94 kB / 1.171 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=53): time 2.735e-06/0.4663, allocations: 3.938 kB / 1.171 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of matching and sorting (n=53): time 0.002377/0.4686, allocations: 0.9407 MB / 1.172 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.4687, allocations: 55.84 kB / 1.172 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001442/0.4701, allocations: 0.9811 MB / 1.173 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.296e-05/0.4702, allocations: 37.7 kB / 1.173 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004618/0.4707, allocations: 0.5813 MB / 1.174 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001733/0.4709, allocations: 193.2 kB / 1.174 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002057/0.4711, allocations: 142.2 kB / 1.174 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.4712, allocations: 330 kB / 1.174 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003677/0.4716, allocations: 203.7 kB / 1.174 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005236/0.4721, allocations: 400.9 kB / 1.175 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009321/0.473, allocations: 0.6217 MB / 1.175 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.4731, allocations: 4 kB / 1.175 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001778/0.4748, allocations: 0.8306 MB / 1.176 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.4749, allocations: 13.5 kB / 1.176 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.526e-05/0.4749, allocations: 20 kB / 1.176 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000576/0.4755, allocations: 108.7 kB / 1.176 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004391/0.4759, allocations: 131.8 kB / 1.177 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000517/0.4765, allocations: 0.607 MB / 1.177 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008955/0.4774, allocations: 111.3 kB / 1.177 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-05/0.4775, allocations: 35.98 kB / 1.177 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006919/0.4782, allocations: 429.7 kB / 1.178 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005095/0.4787, allocations: 412.9 kB / 1.178 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009009/0.4796, allocations: 0.6178 MB / 1.179 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.73e-06/0.4796, allocations: 4 kB / 1.179 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.001739/0.4814, allocations: 0.8263 MB / 1.179 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.4814, allocations: 11.94 kB / 1.179 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.947e-05/0.4814, allocations: 11.98 kB / 1.179 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005045/0.4819, allocations: 113.1 kB / 1.18 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004386/0.4824, allocations: 135.8 kB / 1.18 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000442/0.4828, allocations: 0.5914 MB / 1.18 GB, free: 5.688 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007913/0.4836, allocations: 91.53 kB / 1.18 GB, free: 5.598 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-05/0.4837, allocations: 43.92 kB / 1.18 GB, free: 5.555 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002029/0.4839, allocations: 226.2 kB / 1.181 GB, free: 5.328 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002185/0.4841, allocations: 114.6 kB / 1.181 GB, free: 5.215 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002088/0.4862, allocations: 1.069 MB / 1.182 GB, free: 4.156 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-05/0.4863, allocations: 8 kB / 1.182 GB, free: 4.148 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.4863, allocations: 0 / 1.182 GB, free: 4.148 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001325/0.4876, allocations: 0.8069 MB / 1.183 GB, free: 3.309 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003388/0.491, allocations: 2.09 MB / 1.185 GB, free: 1.152 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.388e-05/0.491, allocations: 0 / 1.185 GB, free: 1.152 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004093/0.4914, allocations: 103.9 kB / 1.185 GB, free: 1.051 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003358/0.4918, allocations: 72.73 kB / 1.185 GB, free: 0.9766 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.171e-05/0.4919, allocations: 23.98 kB / 1.185 GB, free: 0.9531 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003947/0.4923, allocations: 0.603 MB / 1.185 GB, free: 332 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.4923, allocations: 0 / 1.185 GB, free: 332 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002138/0.4944, allocations: 1.314 MB / 1.187 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004498/0.4949, allocations: 295.3 kB / 1.187 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001661/0.4951, allocations: 12 kB / 1.187 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007476/0.4958, allocations: 79.86 kB / 1.187 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.4959, allocations: 60.42 kB / 1.187 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.779e-05/0.496, allocations: 27.98 kB / 1.187 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.00101/0.497, allocations: 0.6765 MB / 1.188 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.7e-07/0.497, allocations: 4 kB / 1.188 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001913/0.499, allocations: 0.7366 MB / 1.189 GB, free: 13.07 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001257/0.5002, allocations: 0.5695 MB / 1.189 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001909/0.5021, allocations: 1.052 MB / 1.19 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.5022, allocations: 0 / 1.19 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0006264/0.5028, allocations: 422.5 kB / 1.191 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002555/0.5054, allocations: 0.5756 MB / 1.191 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003613/0.509, allocations: 2.632 MB / 1.194 GB, free: 7.773 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007169/0.5097, allocations: 1.129 MB / 1.195 GB, free: 6.613 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001095/0.5108, allocations: 315.8 kB / 1.195 GB, free: 6.324 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002426/0.5111, allocations: 107.4 kB / 1.195 GB, free: 6.219 MB / 0.9512 GB Notification: Performance of SimCode: time 2.024e-06/0.5111, allocations: 0 / 1.195 GB, free: 6.219 MB / 0.9512 GB Notification: Performance of Templates: time 0.0419/0.553, allocations: 26.59 MB / 1.221 GB, free: 11.95 MB / 0.9825 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.sim & ./Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1)