Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001735/0.001735, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001916/0.001916, allocations: 195.8 kB / 16.14 MB, free: 6.688 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.497/1.497, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.784/2.784, allocations: 472.6 MB / 0.7447 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 69.3 kB / 0.9114 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3168, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.0586/0.3754, allocations: 60.38 MB / 1.126 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02282/0.3983, allocations: 14.76 MB / 1.141 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003046/0.4014, allocations: 59.62 kB / 1.141 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002616/0.404, allocations: 0.5788 MB / 1.142 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.007556/0.4116, allocations: 2.08 MB / 1.144 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004863/0.4165, allocations: 1.497 MB / 1.145 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.006393/0.4229, allocations: 5.278 MB / 1.15 GB, free: 6 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001915/0.4249, allocations: 1.047 MB / 1.151 GB, free: 4.918 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003183/0.4281, allocations: 1.361 MB / 1.153 GB, free: 3.551 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002056/0.4301, allocations: 1.081 MB / 1.154 GB, free: 2.465 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003865/0.4305, allocations: 68 kB / 1.154 GB, free: 2.398 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003774/0.4343, allocations: 1.594 MB / 1.155 GB, free: 0.8008 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000459/0.4348, allocations: 274.8 kB / 1.155 GB, free: 0.5312 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001247/0.436, allocations: 0.7151 MB / 1.156 GB, free: 15.81 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004095/0.4401, allocations: 2.645 MB / 1.159 GB, free: 13.16 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.4402, allocations: 7.938 kB / 1.159 GB, free: 13.15 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.002e-06/0.4402, allocations: 3.938 kB / 1.159 GB, free: 13.15 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.706e-05/0.4402, allocations: 0 / 1.159 GB, free: 13.15 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.003523/0.4438, allocations: 1.843 MB / 1.161 GB, free: 11.25 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.4438, allocations: 12.03 kB / 1.161 GB, free: 11.24 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005717/0.4444, allocations: 159.1 kB / 1.161 GB, free: 11.09 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00229/0.4467, allocations: 1.304 MB / 1.162 GB, free: 9.723 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.28e-05/0.4468, allocations: 58 kB / 1.162 GB, free: 9.668 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/0.4469, allocations: 88 kB / 1.162 GB, free: 9.582 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001734/0.4486, allocations: 0.9591 MB / 1.163 GB, free: 8.574 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.629e-05/0.4487, allocations: 4 kB / 1.163 GB, free: 8.57 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.554e-05/0.4488, allocations: 36 kB / 1.163 GB, free: 8.535 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.616e-05/0.4488, allocations: 24 kB / 1.163 GB, free: 8.512 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001263/0.4501, allocations: 0.6674 MB / 1.164 GB, free: 7.848 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.4558, allocations: 5.216 MB / 1.169 GB, free: 2.211 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007862/0.4566, allocations: 396.4 kB / 1.169 GB, free: 1.812 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003842/0.4571, allocations: 250 kB / 1.169 GB, free: 1.566 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001391/0.4585, allocations: 1.587 MB / 1.171 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.4585, allocations: 39 kB / 1.171 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=53): time 2.365e-06/0.4585, allocations: 0 / 1.171 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of matching and sorting (n=53): time 0.00245/0.461, allocations: 0.9407 MB / 1.172 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.461, allocations: 59.83 kB / 1.172 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001418/0.4624, allocations: 0.9772 MB / 1.173 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.582e-05/0.4625, allocations: 41.69 kB / 1.173 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004446/0.463, allocations: 0.5851 MB / 1.174 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/0.4632, allocations: 189.2 kB / 1.174 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002042/0.4634, allocations: 138.2 kB / 1.174 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.4635, allocations: 337.9 kB / 1.174 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003826/0.4639, allocations: 203.7 kB / 1.174 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005248/0.4644, allocations: 396.9 kB / 1.175 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009482/0.4654, allocations: 0.6256 MB / 1.175 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.984e-06/0.4654, allocations: 4 kB / 1.175 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001816/0.4672, allocations: 0.8265 MB / 1.176 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.4672, allocations: 12.09 kB / 1.176 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.156e-05/0.4673, allocations: 8 kB / 1.176 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005844/0.4679, allocations: 116.7 kB / 1.176 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004642/0.4683, allocations: 131.8 kB / 1.177 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004998/0.4688, allocations: 0.6031 MB / 1.177 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008598/0.4697, allocations: 111.3 kB / 1.177 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.406e-05/0.4698, allocations: 39.98 kB / 1.177 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007094/0.4705, allocations: 430.3 kB / 1.178 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000559/0.4711, allocations: 412.9 kB / 1.178 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009467/0.472, allocations: 0.6178 MB / 1.179 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.32e-06/0.4721, allocations: 7.938 kB / 1.179 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.001785/0.4739, allocations: 0.834 MB / 1.179 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.4739, allocations: 8 kB / 1.179 GB, free: 6.516 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.915e-05/0.4739, allocations: 8 kB / 1.179 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005245/0.4744, allocations: 109.2 kB / 1.18 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004391/0.4749, allocations: 139.8 kB / 1.18 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004393/0.4753, allocations: 0.5876 MB / 1.18 GB, free: 5.648 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008028/0.4762, allocations: 99.56 kB / 1.18 GB, free: 5.551 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.034e-05/0.4762, allocations: 43.92 kB / 1.18 GB, free: 5.508 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.0002356/0.4765, allocations: 223.1 kB / 1.181 GB, free: 5.285 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002437/0.4767, allocations: 114.6 kB / 1.181 GB, free: 5.172 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002156/0.4789, allocations: 1.072 MB / 1.182 GB, free: 4.109 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.986e-05/0.4789, allocations: 8 kB / 1.182 GB, free: 4.102 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.4789, allocations: 0 / 1.182 GB, free: 4.102 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001377/0.4803, allocations: 0.803 MB / 1.183 GB, free: 3.266 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003465/0.4838, allocations: 2.098 MB / 1.185 GB, free: 1.102 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.306e-05/0.4838, allocations: 4 kB / 1.185 GB, free: 1.098 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004168/0.4842, allocations: 99.88 kB / 1.185 GB, free: 1 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003347/0.4846, allocations: 68.81 kB / 1.185 GB, free: 0.9297 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.233e-05/0.4847, allocations: 24.08 kB / 1.185 GB, free: 0.9062 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003889/0.4851, allocations: 0.5952 MB / 1.185 GB, free: 292 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.4851, allocations: 64 / 1.185 GB, free: 292 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002191/0.4873, allocations: 1.321 MB / 1.187 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004396/0.4877, allocations: 291.3 kB / 1.187 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001705/0.4879, allocations: 16 kB / 1.187 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000759/0.4887, allocations: 83.8 kB / 1.187 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.4888, allocations: 56.48 kB / 1.187 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.597e-05/0.4889, allocations: 27.98 kB / 1.187 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001008/0.4899, allocations: 0.6725 MB / 1.188 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4899, allocations: 0 / 1.188 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001865/0.4918, allocations: 0.7444 MB / 1.189 GB, free: 13.02 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.001198/0.493, allocations: 0.5808 MB / 1.189 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001895/0.4949, allocations: 1.044 MB / 1.19 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4949, allocations: 0 / 1.19 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0006299/0.4955, allocations: 426.5 kB / 1.191 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002677/0.4982, allocations: 0.5702 MB / 1.191 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003648/0.5019, allocations: 2.622 MB / 1.194 GB, free: 7.734 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007082/0.5026, allocations: 1.129 MB / 1.195 GB, free: 6.574 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001102/0.5037, allocations: 324.1 kB / 1.195 GB, free: 6.281 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002348/0.504, allocations: 111.3 kB / 1.195 GB, free: 6.172 MB / 0.9512 GB Notification: Performance of SimCode: time 3.61e-07/0.504, allocations: 3.938 kB / 1.195 GB, free: 6.168 MB / 0.9512 GB Notification: Performance of Templates: time 0.0428/0.5468, allocations: 26.59 MB / 1.221 GB, free: 11.9 MB / 0.9825 GB make -j1 -f Buildings_1.6_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.makefile (rm -f Buildings_1.6_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe >> ../files/Buildings_1.6_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.sim & ./Buildings_1.6_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1)