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.0007922/0.0007922, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.005776/0.005776, allocations: 172 kB / 16.27 MB, free: 6.648 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.443/1.443, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.959/2.959, allocations: 473.4 MB / 0.7469 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000341/0.000341, allocations: 9.406 kB / 0.9158 GB, free: 33.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.2993, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.05777/0.3571, allocations: 59.26 MB / 1.132 GB, free: 12.08 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02008/0.3772, allocations: 14.58 MB / 1.146 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003273/0.3805, allocations: 55.62 kB / 1.146 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003178/0.3837, allocations: 0.5749 MB / 1.147 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.008411/0.3922, allocations: 2.08 MB / 1.149 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004664/0.3969, allocations: 1.501 MB / 1.15 GB, free: 9.25 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.006596/0.4035, allocations: 5.281 MB / 1.156 GB, free: 3.957 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002238/0.4057, allocations: 1.032 MB / 1.157 GB, free: 2.891 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003143/0.4089, allocations: 1.326 MB / 1.158 GB, free: 1.559 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00205/0.411, allocations: 1.046 MB / 1.159 GB, free: 0.5078 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.000342/0.4113, allocations: 56 kB / 1.159 GB, free: 464 kB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004052/0.4154, allocations: 1.579 MB / 1.16 GB, free: 14.87 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0005398/0.4159, allocations: 258.8 kB / 1.161 GB, free: 14.62 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001581/0.4175, allocations: 0.7129 MB / 1.161 GB, free: 13.89 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.005996/0.4235, allocations: 2.605 MB / 1.164 GB, free: 11.28 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.4236, allocations: 0 / 1.164 GB, free: 11.28 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.216e-06/0.4236, allocations: 0 / 1.164 GB, free: 11.28 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.598e-05/0.4236, allocations: 3.938 kB / 1.164 GB, free: 11.28 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.003276/0.4269, allocations: 1.573 MB / 1.165 GB, free: 9.652 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.427, allocations: 8.031 kB / 1.165 GB, free: 9.645 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003991/0.4274, allocations: 166.9 kB / 1.166 GB, free: 9.48 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002099/0.4295, allocations: 1.288 MB / 1.167 GB, free: 8.133 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.954e-05/0.4295, allocations: 66 kB / 1.167 GB, free: 8.07 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/0.4297, allocations: 84 kB / 1.167 GB, free: 7.988 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/0.4313, allocations: 0.9591 MB / 1.168 GB, free: 6.98 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.043e-05/0.4313, allocations: 7.906 kB / 1.168 GB, free: 6.973 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.447e-05/0.4314, allocations: 36 kB / 1.168 GB, free: 6.938 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.475e-05/0.4315, allocations: 24 kB / 1.168 GB, free: 6.914 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001175/0.4326, allocations: 0.6713 MB / 1.169 GB, free: 6.246 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.005769/0.4384, allocations: 5.212 MB / 1.174 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007931/0.4392, allocations: 405.7 kB / 1.174 GB, free: 212 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003863/0.4396, allocations: 247.9 kB / 1.174 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001441/0.4411, allocations: 1.607 MB / 1.176 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.4411, allocations: 39 kB / 1.176 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=53): time 2.725e-06/0.4411, allocations: 0 / 1.176 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of matching and sorting (n=53): time 0.002376/0.4435, allocations: 0.9447 MB / 1.177 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.4436, allocations: 63.84 kB / 1.177 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001428/0.445, allocations: 0.9811 MB / 1.178 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.124e-05/0.4451, allocations: 37.7 kB / 1.178 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000502/0.4456, allocations: 0.5813 MB / 1.179 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002054/0.4458, allocations: 189.2 kB / 1.179 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.4459, allocations: 61.67 kB / 1.179 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.4461, allocations: 334 kB / 1.179 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003615/0.4464, allocations: 193.6 kB / 1.179 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004963/0.4469, allocations: 412.9 kB / 1.18 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009215/0.4479, allocations: 0.6256 MB / 1.18 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.4479, allocations: 7.938 kB / 1.18 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001738/0.4496, allocations: 0.8301 MB / 1.181 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001896/0.4498, allocations: 261.6 kB / 1.181 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.2e-05/0.4498, allocations: 4 kB / 1.181 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00058/0.4504, allocations: 112.8 kB / 1.181 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004576/0.4509, allocations: 151.7 kB / 1.182 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005031/0.4514, allocations: 0.5953 MB / 1.182 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008999/0.4523, allocations: 115.3 kB / 1.182 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.116e-05/0.4524, allocations: 39.98 kB / 1.182 GB, free: 7.09 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.546e-06/0.4524, allocations: 4 kB / 1.182 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001461/0.4539, allocations: 0.7052 MB / 1.183 GB, free: 6.379 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/0.4539, allocations: 8 kB / 1.183 GB, free: 6.371 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000486/0.4544, allocations: 116.7 kB / 1.183 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004279/0.4549, allocations: 139.8 kB / 1.183 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004356/0.4553, allocations: 0.5954 MB / 1.184 GB, free: 5.496 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008342/0.4562, allocations: 99.45 kB / 1.184 GB, free: 5.398 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.335e-05/0.4562, allocations: 36.06 kB / 1.184 GB, free: 5.363 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.0006108/0.4568, allocations: 380.8 kB / 1.184 GB, free: 4.98 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001715/0.457, allocations: 118.6 kB / 1.184 GB, free: 4.863 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002089/0.4591, allocations: 1.077 MB / 1.186 GB, free: 3.797 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-05/0.4592, allocations: 7.984 kB / 1.186 GB, free: 3.789 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.4592, allocations: 4 kB / 1.186 GB, free: 3.785 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001335/0.4605, allocations: 0.8108 MB / 1.186 GB, free: 2.941 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003545/0.4641, allocations: 2.09 MB / 1.188 GB, free: 0.7852 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.605e-05/0.4641, allocations: 4 kB / 1.188 GB, free: 0.7812 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004006/0.4645, allocations: 99.88 kB / 1.188 GB, free: 0.6836 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003454/0.4649, allocations: 80.91 kB / 1.189 GB, free: 0.6016 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.972e-05/0.4649, allocations: 23.98 kB / 1.189 GB, free: 0.5781 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004378/0.4654, allocations: 0.5913 MB / 1.189 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4654, allocations: 0 / 1.189 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002075/0.4675, allocations: 1.325 MB / 1.19 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00052/0.468, allocations: 315.3 kB / 1.191 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001299/0.4681, allocations: 20 kB / 1.191 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007054/0.4688, allocations: 79.77 kB / 1.191 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.469, allocations: 52.42 kB / 1.191 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.816e-05/0.4691, allocations: 39.97 kB / 1.191 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001046/0.4701, allocations: 0.6764 MB / 1.192 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.5e-07/0.4701, allocations: 0 / 1.192 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002052/0.4722, allocations: 0.7367 MB / 1.192 GB, free: 12.67 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.001209/0.4734, allocations: 0.5592 MB / 1.193 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001878/0.4753, allocations: 1.056 MB / 1.194 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.4753, allocations: 12.19 kB / 1.194 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005923/0.4759, allocations: 426.5 kB / 1.194 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002925/0.4788, allocations: 0.562 MB / 1.195 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003846/0.4827, allocations: 2.708 MB / 1.198 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007016/0.4834, allocations: 1.133 MB / 1.199 GB, free: 6.129 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001089/0.4845, allocations: 317.8 kB / 1.199 GB, free: 5.84 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002277/0.4847, allocations: 107.4 kB / 1.199 GB, free: 5.734 MB / 0.9512 GB Notification: Performance of SimCode: time 5.91e-07/0.4847, allocations: 0 / 1.199 GB, free: 5.734 MB / 0.9512 GB Notification: Performance of Templates: time 0.04708/0.5318, allocations: 26.47 MB / 1.225 GB, free: 11.59 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)