Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.686/2.686, allocations: 287.5 MB / 302.4 MB, free: 8.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001338/0.001338, allocations: 192.8 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.165/2.165, allocations: 205.4 MB / 0.6297 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00102/0.00102, allocations: 87.66 kB / 0.743 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006734/0.0006738, allocations: 11.06 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2323, allocations: 115.3 MB / 0.9783 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.05577/0.2881, allocations: 41.16 MB / 1.019 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02551/0.3137, allocations: 12.2 MB / 1.03 GB, free: 6.875 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001959/0.3157, allocations: 35.81 kB / 1.03 GB, free: 6.84 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002331/0.3181, allocations: 417.3 kB / 1.031 GB, free: 6.43 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.007028/0.3251, allocations: 1.528 MB / 1.032 GB, free: 4.895 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.004735/0.3299, allocations: 0.9594 MB / 1.033 GB, free: 3.941 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.007256/0.3372, allocations: 3.6 MB / 1.037 GB, free: 336 kB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002181/0.3394, allocations: 0.7383 MB / 1.038 GB, free: 15.58 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003895/0.3434, allocations: 1.065 MB / 1.039 GB, free: 14.51 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002584/0.346, allocations: 0.8322 MB / 1.039 GB, free: 13.67 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0003855/0.3464, allocations: 48 kB / 1.039 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004684/0.3511, allocations: 1.115 MB / 1.041 GB, free: 12.51 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0005942/0.3518, allocations: 203 kB / 1.041 GB, free: 12.31 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0006652/0.3525, allocations: 269.1 kB / 1.041 GB, free: 12.04 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.004444/0.3569, allocations: 1.722 MB / 1.043 GB, free: 10.31 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 8.096e-06/0.357, allocations: 0 / 1.043 GB, free: 10.31 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.056e-06/0.357, allocations: 4 kB / 1.043 GB, free: 10.31 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 7.466e-05/0.3571, allocations: 0 / 1.043 GB, free: 10.31 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.004976/0.3621, allocations: 1.431 MB / 1.044 GB, free: 8.824 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.3621, allocations: 8.031 kB / 1.044 GB, free: 8.816 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006164/0.3628, allocations: 134.5 kB / 1.044 GB, free: 8.684 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004666/0.3675, allocations: 1.16 MB / 1.045 GB, free: 7.48 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/0.3677, allocations: 49.31 kB / 1.045 GB, free: 7.434 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003757/0.3681, allocations: 71.94 kB / 1.045 GB, free: 7.363 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003904/0.372, allocations: 0.7513 MB / 1.046 GB, free: 6.582 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-05/0.3722, allocations: 7.984 kB / 1.046 GB, free: 6.574 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002147/0.3724, allocations: 28 kB / 1.046 GB, free: 6.547 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.771e-05/0.3725, allocations: 24 kB / 1.046 GB, free: 6.523 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003292/0.3758, allocations: 0.5204 MB / 1.047 GB, free: 6 MB / 0.6667 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.01351/0.3894, allocations: 4.531 MB / 1.051 GB, free: 1.07 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001916/0.3914, allocations: 374.6 kB / 1.052 GB, free: 0.6953 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009488/0.3924, allocations: 200.8 kB / 1.052 GB, free: 0.4961 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003223/0.3956, allocations: 1.519 MB / 1.053 GB, free: 14.64 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.745e-05/0.3958, allocations: 38.56 kB / 1.053 GB, free: 14.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=43): time 6.412e-06/0.3958, allocations: 0 / 1.053 GB, free: 14.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=43): time 0.006167/0.402, allocations: 0.8787 MB / 1.054 GB, free: 13.69 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.57e-05/0.4021, allocations: 59.19 kB / 1.054 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003645/0.4058, allocations: 0.8831 MB / 1.055 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001979/0.4061, allocations: 33.7 kB / 1.055 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009178/0.407, allocations: 491.8 kB / 1.056 GB, free: 12.19 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004545/0.4075, allocations: 157.8 kB / 1.056 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.556e-05/0.4076, allocations: 15.94 kB / 1.056 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000256/0.4079, allocations: 325.9 kB / 1.056 GB, free: 11.69 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009903/0.4089, allocations: 169 kB / 1.056 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001167/0.4101, allocations: 331 kB / 1.056 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/0.4114, allocations: 232.6 kB / 1.057 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.119e-05/0.4114, allocations: 0 / 1.057 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00447/0.4159, allocations: 0.7096 MB / 1.057 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000286/0.4163, allocations: 213.4 kB / 1.058 GB, free: 9.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.737e-05/0.4164, allocations: 4 kB / 1.058 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001532/0.4179, allocations: 120.7 kB / 1.058 GB, free: 9.805 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/0.4193, allocations: 115.8 kB / 1.058 GB, free: 9.691 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001277/0.4206, allocations: 0.6265 MB / 1.058 GB, free: 9.039 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002307/0.423, allocations: 87.45 kB / 1.059 GB, free: 8.953 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002802/0.4233, allocations: 35.94 kB / 1.059 GB, free: 8.918 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.4234, allocations: 4 kB / 1.059 GB, free: 8.914 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003872/0.4273, allocations: 0.6019 MB / 1.059 GB, free: 8.309 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.753e-05/0.4274, allocations: 4 kB / 1.059 GB, free: 8.305 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001394/0.4288, allocations: 124.7 kB / 1.059 GB, free: 8.18 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/0.4302, allocations: 119.9 kB / 1.059 GB, free: 8.062 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001215/0.4315, allocations: 0.6226 MB / 1.06 GB, free: 7.414 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002149/0.4337, allocations: 95.39 kB / 1.06 GB, free: 7.32 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000233/0.434, allocations: 27.98 kB / 1.06 GB, free: 7.293 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (59): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001225/0.4352, allocations: 341 kB / 1.06 GB, free: 6.949 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005291/0.4358, allocations: 94.88 kB / 1.061 GB, free: 6.855 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005999/0.4418, allocations: 1.016 MB / 1.062 GB, free: 5.852 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.027e-05/0.4419, allocations: 12 kB / 1.062 GB, free: 5.84 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.311e-05/0.442, allocations: 0 / 1.062 GB, free: 5.84 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003895/0.4459, allocations: 0.9241 MB / 1.062 GB, free: 4.844 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008792/0.4547, allocations: 1.947 MB / 1.064 GB, free: 2.828 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.959e-05/0.4548, allocations: 4 kB / 1.064 GB, free: 2.824 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001154/0.456, allocations: 87.89 kB / 1.064 GB, free: 2.738 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008974/0.4569, allocations: 88.91 kB / 1.065 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001468/0.4571, allocations: 19.98 kB / 1.065 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001068/0.4582, allocations: 0.6265 MB / 1.065 GB, free: 1.977 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.4582, allocations: 0 / 1.065 GB, free: 1.977 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005482/0.4637, allocations: 1.251 MB / 1.066 GB, free: 0.6992 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001173/0.465, allocations: 299.7 kB / 1.067 GB, free: 396 kB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000343/0.4654, allocations: 16 kB / 1.067 GB, free: 380 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001708/0.4671, allocations: 67.83 kB / 1.067 GB, free: 312 kB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004757/0.4676, allocations: 40.5 kB / 1.067 GB, free: 268 kB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003406/0.468, allocations: 27.98 kB / 1.067 GB, free: 240 kB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.6361/1.104, allocations: 0.6052 MB / 1.067 GB, free: 89.12 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.91e-07/1.104, allocations: 0 / 1.067 GB, free: 89.12 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00326/1.107, allocations: 0.6092 MB / 1.068 GB, free: 89.12 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (pip.cor.del.x,pip.cor.timDel.x,pip.vol.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 (55): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.00166/1.109, allocations: 0.5072 MB / 1.068 GB, free: 89.03 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002898/1.112, allocations: 0.9245 MB / 1.069 GB, free: 88.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/1.112, allocations: 1.031 kB / 1.069 GB, free: 88.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001096/1.113, allocations: 406.1 kB / 1.07 GB, free: 88.82 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004286/1.118, allocations: 478.3 kB / 1.07 GB, free: 88.73 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005307/1.123, allocations: 2.334 MB / 1.072 GB, free: 87.48 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008509/1.124, allocations: 1.06 MB / 1.074 GB, free: 86.77 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001851/1.126, allocations: 275.2 kB / 1.074 GB, free: 86.74 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003981/1.126, allocations: 90.11 kB / 1.074 GB, free: 86.73 MB / 0.6823 GB Notification: Performance of SimCode: time 1.713e-06/1.126, allocations: 0 / 1.074 GB, free: 86.73 MB / 0.6823 GB Notification: Performance of Templates: time 0.0954/1.222, allocations: 23.1 MB / 1.096 GB, free: 80.24 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.sim & ./Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1)