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.001724/0.001725, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001889/0.001889, allocations: 195.5 kB / 16.25 MB, free: 6.617 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.587/1.587, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.664/2.664, allocations: 472.6 MB / 0.7448 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 67.31 kB / 0.9115 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2946, allocations: 159.9 MB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.0564/0.3511, allocations: 60.24 MB / 1.127 GB, free: 14.38 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01965/0.3708, allocations: 14.57 MB / 1.141 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001749/0.3725, allocations: 59.62 kB / 1.141 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001951/0.3746, allocations: 0.6179 MB / 1.141 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005362/0.3799, allocations: 2.096 MB / 1.143 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004224/0.3842, allocations: 1.536 MB / 1.145 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004911/0.3891, allocations: 4.072 MB / 1.149 GB, free: 7.383 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001495/0.3906, allocations: 1.255 MB / 1.15 GB, free: 6.098 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00307/0.3937, allocations: 1.583 MB / 1.152 GB, free: 4.512 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001153/0.3949, allocations: 1.12 MB / 1.153 GB, free: 3.387 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001661/0.395, allocations: 132 kB / 1.153 GB, free: 3.258 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002984/0.398, allocations: 1.735 MB / 1.155 GB, free: 1.52 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000287/0.3983, allocations: 342.7 kB / 1.155 GB, free: 1.184 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0007208/0.399, allocations: 0.7854 MB / 1.156 GB, free: 404 kB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003109/0.4022, allocations: 2.711 MB / 1.158 GB, free: 13.68 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.4022, allocations: 4 kB / 1.158 GB, free: 13.67 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.844e-06/0.4022, allocations: 0 / 1.158 GB, free: 13.67 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.713e-05/0.4022, allocations: 0 / 1.158 GB, free: 13.67 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.002729/0.4049, allocations: 1.837 MB / 1.16 GB, free: 11.78 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.405, allocations: 12.03 kB / 1.16 GB, free: 11.77 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004094/0.4054, allocations: 159.1 kB / 1.16 GB, free: 11.61 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001916/0.4073, allocations: 1.302 MB / 1.162 GB, free: 10.25 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.847e-05/0.4074, allocations: 62 kB / 1.162 GB, free: 10.19 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.4075, allocations: 88 kB / 1.162 GB, free: 10.11 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/0.4091, allocations: 0.9553 MB / 1.163 GB, free: 9.105 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.869e-05/0.4091, allocations: 7.938 kB / 1.163 GB, free: 9.098 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.43e-05/0.4092, allocations: 39.98 kB / 1.163 GB, free: 9.059 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.439e-05/0.4093, allocations: 24 kB / 1.163 GB, free: 9.035 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/0.4104, allocations: 0.6674 MB / 1.163 GB, free: 8.367 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.00504/0.4154, allocations: 5.201 MB / 1.168 GB, free: 2.75 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007639/0.4162, allocations: 409 kB / 1.169 GB, free: 2.34 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003774/0.4166, allocations: 242.1 kB / 1.169 GB, free: 2.102 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001342/0.418, allocations: 1.591 MB / 1.171 GB, free: 164 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.418, allocations: 39 kB / 1.171 GB, free: 112 kB / 0.92 GB Notification: Performance of pre-optimization done (n=53): time 2.204e-06/0.418, allocations: 0 / 1.171 GB, free: 112 kB / 0.92 GB Notification: Performance of matching and sorting (n=53): time 0.002282/0.4203, allocations: 0.9407 MB / 1.172 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.4204, allocations: 55.84 kB / 1.172 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001232/0.4216, allocations: 0.985 MB / 1.173 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.29e-05/0.4217, allocations: 37.7 kB / 1.173 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000403/0.4221, allocations: 0.5773 MB / 1.173 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001467/0.4222, allocations: 193.2 kB / 1.173 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001864/0.4224, allocations: 142.2 kB / 1.174 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.4225, allocations: 334 kB / 1.174 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003583/0.4229, allocations: 203.7 kB / 1.174 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005067/0.4234, allocations: 404.9 kB / 1.174 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000878/0.4243, allocations: 0.6256 MB / 1.175 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.4243, allocations: 4 kB / 1.175 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001638/0.426, allocations: 0.8304 MB / 1.176 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.426, allocations: 13.47 kB / 1.176 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/0.426, allocations: 8 kB / 1.176 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005458/0.4266, allocations: 104.8 kB / 1.176 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004245/0.427, allocations: 135.8 kB / 1.176 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004736/0.4275, allocations: 0.5992 MB / 1.177 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007413/0.4282, allocations: 115.3 kB / 1.177 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.847e-05/0.4283, allocations: 35.98 kB / 1.177 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006266/0.429, allocations: 435 kB / 1.177 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004784/0.4294, allocations: 412.8 kB / 1.178 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008476/0.4303, allocations: 0.6217 MB / 1.178 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.108e-06/0.4303, allocations: 4 kB / 1.178 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.001605/0.4319, allocations: 0.8303 MB / 1.179 GB, free: 7.055 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.4319, allocations: 11.94 kB / 1.179 GB, free: 7.043 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/0.432, allocations: 8 kB / 1.179 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004725/0.4324, allocations: 117.1 kB / 1.179 GB, free: 6.918 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004138/0.4329, allocations: 135.8 kB / 1.179 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000403/0.4333, allocations: 0.5914 MB / 1.18 GB, free: 6.168 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006694/0.434, allocations: 95.53 kB / 1.18 GB, free: 6.074 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.236e-05/0.434, allocations: 43.92 kB / 1.18 GB, free: 6.031 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.0001704/0.4342, allocations: 224 kB / 1.18 GB, free: 5.805 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001876/0.4344, allocations: 114.6 kB / 1.18 GB, free: 5.691 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001995/0.4364, allocations: 1.063 MB / 1.181 GB, free: 4.637 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.59e-05/0.4364, allocations: 11.94 kB / 1.181 GB, free: 4.625 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.4364, allocations: 0 / 1.181 GB, free: 4.625 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001322/0.4378, allocations: 0.807 MB / 1.182 GB, free: 3.785 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003105/0.4409, allocations: 2.09 MB / 1.184 GB, free: 1.629 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/0.4409, allocations: 4 kB / 1.184 GB, free: 1.625 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003923/0.4413, allocations: 107.8 kB / 1.184 GB, free: 1.52 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002929/0.4416, allocations: 60.83 kB / 1.184 GB, free: 1.457 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.372e-05/0.4417, allocations: 24.02 kB / 1.184 GB, free: 1.434 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003743/0.442, allocations: 0.5952 MB / 1.185 GB, free: 0.8125 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.4421, allocations: 3.938 kB / 1.185 GB, free: 0.8086 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002036/0.4441, allocations: 1.31 MB / 1.186 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003645/0.4445, allocations: 299.3 kB / 1.187 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000135/0.4446, allocations: 15.98 kB / 1.187 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000671/0.4453, allocations: 79.88 kB / 1.187 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.4454, allocations: 48.48 kB / 1.187 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.676e-05/0.4455, allocations: 39.97 kB / 1.187 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0008962/0.4464, allocations: 0.6687 MB / 1.187 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4464, allocations: 0 / 1.187 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001709/0.4481, allocations: 0.7366 MB / 1.188 GB, free: 13.56 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.001031/0.4492, allocations: 0.5793 MB / 1.189 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00204/0.4512, allocations: 1.11 MB / 1.19 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4512, allocations: 0 / 1.19 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0006021/0.4518, allocations: 422.5 kB / 1.19 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002531/0.4544, allocations: 0.6125 MB / 1.191 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003333/0.4577, allocations: 2.623 MB / 1.193 GB, free: 8.172 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006375/0.4584, allocations: 1.133 MB / 1.194 GB, free: 7.008 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0009315/0.4593, allocations: 317.4 kB / 1.195 GB, free: 6.723 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002193/0.4595, allocations: 111.3 kB / 1.195 GB, free: 6.613 MB / 0.9512 GB Notification: Performance of SimCode: time 3.21e-07/0.4595, allocations: 0 / 1.195 GB, free: 6.613 MB / 0.9512 GB Notification: Performance of Templates: time 0.04086/0.5004, allocations: 27.49 MB / 1.222 GB, free: 11.46 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)