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.0009436/0.0009437, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.006104/0.006104, allocations: 169.6 kB / 16.26 MB, free: 6.613 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.398/1.398, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.75/2.75, allocations: 473.4 MB / 0.7469 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003213/0.0003213, allocations: 9.438 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.2991, allocations: 162.2 MB / 1.074 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.05591/0.3551, allocations: 59.27 MB / 1.132 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01976/0.3749, allocations: 14.59 MB / 1.146 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002043/0.377, allocations: 55.62 kB / 1.146 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001733/0.3787, allocations: 0.5749 MB / 1.147 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005419/0.3841, allocations: 2.076 MB / 1.149 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003864/0.388, allocations: 1.51 MB / 1.15 GB, free: 9.223 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.006222/0.3942, allocations: 5.28 MB / 1.156 GB, free: 3.934 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001746/0.396, allocations: 1.032 MB / 1.157 GB, free: 2.867 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002859/0.3989, allocations: 1.318 MB / 1.158 GB, free: 1.543 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001707/0.4006, allocations: 1.054 MB / 1.159 GB, free: 496 kB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001548/0.4008, allocations: 52 kB / 1.159 GB, free: 444 kB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003445/0.4042, allocations: 1.586 MB / 1.16 GB, free: 14.84 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003022/0.4045, allocations: 246.8 kB / 1.161 GB, free: 14.6 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000902/0.4055, allocations: 0.7168 MB / 1.161 GB, free: 13.88 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003895/0.4094, allocations: 2.609 MB / 1.164 GB, free: 11.26 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.4094, allocations: 0 / 1.164 GB, free: 11.26 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.913e-06/0.4094, allocations: 0 / 1.164 GB, free: 11.26 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.01e-05/0.4094, allocations: 0 / 1.164 GB, free: 11.26 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.002786/0.4122, allocations: 1.565 MB / 1.165 GB, free: 9.641 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.4123, allocations: 12.03 kB / 1.165 GB, free: 9.629 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003943/0.4127, allocations: 162.9 kB / 1.166 GB, free: 9.469 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002059/0.4147, allocations: 1.288 MB / 1.167 GB, free: 8.121 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.286e-05/0.4148, allocations: 66 kB / 1.167 GB, free: 8.059 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.4149, allocations: 84 kB / 1.167 GB, free: 7.977 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00158/0.4165, allocations: 0.9669 MB / 1.168 GB, free: 6.961 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.701e-05/0.4166, allocations: 7.906 kB / 1.168 GB, free: 6.953 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.331e-05/0.4167, allocations: 36 kB / 1.168 GB, free: 6.918 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.35e-05/0.4167, allocations: 24 kB / 1.168 GB, free: 6.895 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001175/0.4179, allocations: 0.6713 MB / 1.169 GB, free: 6.227 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.00563/0.4235, allocations: 5.216 MB / 1.174 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008097/0.4243, allocations: 396.4 kB / 1.174 GB, free: 196 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004033/0.4248, allocations: 246.1 kB / 1.174 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001375/0.4261, allocations: 1.599 MB / 1.176 GB, free: 14 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.4262, allocations: 50.88 kB / 1.176 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=53): time 2.395e-06/0.4262, allocations: 0 / 1.176 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of matching and sorting (n=53): time 0.002239/0.4284, allocations: 0.9447 MB / 1.177 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/0.4285, allocations: 59.84 kB / 1.177 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/0.4298, allocations: 0.985 MB / 1.178 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.085e-05/0.4299, allocations: 37.7 kB / 1.178 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004521/0.4304, allocations: 0.5813 MB / 1.179 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001748/0.4305, allocations: 193.2 kB / 1.179 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.083e-05/0.4306, allocations: 57.69 kB / 1.179 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.4308, allocations: 330 kB / 1.179 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003527/0.4311, allocations: 201.6 kB / 1.179 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004853/0.4316, allocations: 404.9 kB / 1.18 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008804/0.4325, allocations: 0.6335 MB / 1.18 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.4325, allocations: 3.938 kB / 1.18 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001624/0.4341, allocations: 0.8301 MB / 1.181 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001894/0.4343, allocations: 262.6 kB / 1.181 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.187e-05/0.4344, allocations: 8 kB / 1.181 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005507/0.4349, allocations: 112.8 kB / 1.181 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004456/0.4354, allocations: 143.7 kB / 1.182 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004831/0.4359, allocations: 0.5954 MB / 1.182 GB, free: 7.227 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008085/0.4367, allocations: 111.3 kB / 1.182 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.006e-05/0.4368, allocations: 47.91 kB / 1.182 GB, free: 7.07 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.855e-06/0.4368, allocations: 4 kB / 1.182 GB, free: 7.066 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001429/0.4382, allocations: 0.7009 MB / 1.183 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/0.4383, allocations: 8 kB / 1.183 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004859/0.4387, allocations: 113.2 kB / 1.183 GB, free: 6.242 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004271/0.4392, allocations: 139.8 kB / 1.183 GB, free: 6.105 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004265/0.4396, allocations: 0.5953 MB / 1.184 GB, free: 5.484 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006835/0.4403, allocations: 107.4 kB / 1.184 GB, free: 5.379 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.88e-05/0.4404, allocations: 32 kB / 1.184 GB, free: 5.348 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.0004839/0.4409, allocations: 380.8 kB / 1.184 GB, free: 4.965 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001647/0.441, allocations: 114.6 kB / 1.184 GB, free: 4.852 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002017/0.4431, allocations: 1.072 MB / 1.186 GB, free: 3.789 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-05/0.4431, allocations: 11.98 kB / 1.186 GB, free: 3.777 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.4431, allocations: 0 / 1.186 GB, free: 3.777 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001335/0.4444, allocations: 0.8108 MB / 1.186 GB, free: 2.934 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003406/0.4479, allocations: 2.09 MB / 1.188 GB, free: 0.7773 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.45e-05/0.4479, allocations: 12.08 kB / 1.188 GB, free: 0.7656 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003812/0.4483, allocations: 95.89 kB / 1.188 GB, free: 0.6719 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003442/0.4486, allocations: 84.81 kB / 1.189 GB, free: 0.5859 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.49e-05/0.4487, allocations: 23.98 kB / 1.189 GB, free: 0.5625 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003883/0.4491, allocations: 0.5912 MB / 1.189 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.4491, allocations: 4.031 kB / 1.189 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001999/0.4511, allocations: 1.314 MB / 1.19 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004042/0.4515, allocations: 319.3 kB / 1.191 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/0.4517, allocations: 12 kB / 1.191 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006915/0.4524, allocations: 83.78 kB / 1.191 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.4525, allocations: 56.42 kB / 1.191 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.648e-05/0.4525, allocations: 35.97 kB / 1.191 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0009711/0.4535, allocations: 0.6726 MB / 1.192 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.3e-07/0.4535, allocations: 0 / 1.192 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001845/0.4554, allocations: 0.7406 MB / 1.192 GB, free: 12.66 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.00106/0.4565, allocations: 0.5765 MB / 1.193 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001756/0.4582, allocations: 1.048 MB / 1.194 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4582, allocations: 0 / 1.194 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005944/0.4588, allocations: 435.7 kB / 1.194 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002805/0.4617, allocations: 0.5688 MB / 1.195 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003464/0.4651, allocations: 2.706 MB / 1.198 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006652/0.4658, allocations: 1.133 MB / 1.199 GB, free: 6.113 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0009812/0.4668, allocations: 312.5 kB / 1.199 GB, free: 5.828 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002208/0.467, allocations: 107.4 kB / 1.199 GB, free: 5.723 MB / 0.9512 GB Notification: Performance of SimCode: time 3.81e-07/0.467, allocations: 4 kB / 1.199 GB, free: 5.719 MB / 0.9512 GB Notification: Performance of Templates: time 0.04453/0.5116, allocations: 26.46 MB / 1.225 GB, free: 11.58 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)