Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.922/1.922, allocations: 288.4 MB / 303.4 MB, free: 8.129 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.0009327/0.0009327, allocations: 180.5 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.575/1.575, allocations: 205.4 MB / 0.6307 GB, free: 9.996 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.0008354/0.0008355, allocations: 101.1 kB / 0.7441 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000449/0.0004491, allocations: 11.28 kB / 0.867 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2317, allocations: 115.3 MB / 0.9796 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.03256/0.2643, allocations: 41.16 MB / 1.02 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01661/0.2809, allocations: 12.16 MB / 1.032 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001731/0.2827, allocations: 35.75 kB / 1.032 GB, free: 6.18 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001715/0.2845, allocations: 409.3 kB / 1.032 GB, free: 5.777 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.005547/0.29, allocations: 1.535 MB / 1.034 GB, free: 4.234 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.003933/0.294, allocations: 0.9475 MB / 1.035 GB, free: 3.293 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.005475/0.2995, allocations: 3.628 MB / 1.038 GB, free: 15.65 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001588/0.3011, allocations: 0.7305 MB / 1.039 GB, free: 14.91 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002637/0.3037, allocations: 1.058 MB / 1.04 GB, free: 13.85 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001715/0.3055, allocations: 0.8322 MB / 1.041 GB, free: 13.01 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0003059/0.3058, allocations: 44 kB / 1.041 GB, free: 12.97 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00314/0.3089, allocations: 1.123 MB / 1.042 GB, free: 11.84 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0003933/0.3093, allocations: 199 kB / 1.042 GB, free: 11.65 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0005982/0.31, allocations: 269.1 kB / 1.042 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.002857/0.3128, allocations: 1.722 MB / 1.044 GB, free: 9.652 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3128, allocations: 4 kB / 1.044 GB, free: 9.648 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3128, allocations: 0 / 1.044 GB, free: 9.648 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 7.087e-05/0.3129, allocations: 0 / 1.044 GB, free: 9.648 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.003883/0.3168, allocations: 1.432 MB / 1.045 GB, free: 8.16 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.3169, allocations: 11.97 kB / 1.045 GB, free: 8.148 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004975/0.3174, allocations: 130.5 kB / 1.045 GB, free: 8.02 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003345/0.3207, allocations: 1.159 MB / 1.047 GB, free: 6.816 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.082e-05/0.3208, allocations: 57.31 kB / 1.047 GB, free: 6.762 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001495/0.321, allocations: 64 kB / 1.047 GB, free: 6.699 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/0.3225, allocations: 0.7552 MB / 1.047 GB, free: 5.914 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.85e-05/0.3225, allocations: 4 kB / 1.047 GB, free: 5.91 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.393e-05/0.3226, allocations: 24 kB / 1.047 GB, free: 5.887 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.273e-05/0.3227, allocations: 20 kB / 1.047 GB, free: 5.867 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001016/0.3237, allocations: 0.5243 MB / 1.048 GB, free: 5.34 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.005815/0.3295, allocations: 4.528 MB / 1.052 GB, free: 424 kB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007126/0.3302, allocations: 358.7 kB / 1.053 GB, free: 56 kB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003535/0.3306, allocations: 208.8 kB / 1.053 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001382/0.332, allocations: 1.523 MB / 1.054 GB, free: 13.99 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/0.3321, allocations: 38.56 kB / 1.054 GB, free: 13.95 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=43): time 2.785e-06/0.3321, allocations: 0 / 1.054 GB, free: 13.95 MB / 0.6823 GB Notification: Performance of matching and sorting (n=43): time 0.002271/0.3343, allocations: 0.8891 MB / 1.055 GB, free: 13.03 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.3344, allocations: 55.41 kB / 1.055 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001394/0.3358, allocations: 0.8831 MB / 1.056 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.143e-05/0.3359, allocations: 37.7 kB / 1.056 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003782/0.3363, allocations: 487.8 kB / 1.057 GB, free: 11.53 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001515/0.3364, allocations: 149.8 kB / 1.057 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-05/0.3365, allocations: 12 kB / 1.057 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.3366, allocations: 333.8 kB / 1.057 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003058/0.3369, allocations: 173 kB / 1.057 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004039/0.3373, allocations: 331 kB / 1.058 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003861/0.3377, allocations: 232.6 kB / 1.058 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.3377, allocations: 0 / 1.058 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001499/0.3392, allocations: 0.7135 MB / 1.059 GB, free: 9.531 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001368/0.3394, allocations: 221.2 kB / 1.059 GB, free: 9.254 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.969e-05/0.3394, allocations: 4 kB / 1.059 GB, free: 9.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005709/0.34, allocations: 116.8 kB / 1.059 GB, free: 9.133 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004035/0.3404, allocations: 127.8 kB / 1.059 GB, free: 9.008 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000532/0.3409, allocations: 0.6187 MB / 1.06 GB, free: 8.363 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007834/0.3417, allocations: 87.45 kB / 1.06 GB, free: 8.277 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-05/0.3418, allocations: 31.98 kB / 1.06 GB, free: 8.246 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.3419, allocations: 4 kB / 1.06 GB, free: 8.242 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001321/0.3432, allocations: 0.6015 MB / 1.06 GB, free: 7.637 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.095e-05/0.3432, allocations: 11.98 kB / 1.06 GB, free: 7.625 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004941/0.3437, allocations: 113 kB / 1.06 GB, free: 7.512 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003711/0.3441, allocations: 115.8 kB / 1.061 GB, free: 7.398 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004903/0.3446, allocations: 0.6187 MB / 1.061 GB, free: 6.754 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007926/0.3454, allocations: 101.4 kB / 1.061 GB, free: 6.656 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.387e-05/0.3455, allocations: 31.98 kB / 1.061 GB, free: 6.625 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.0005483/0.346, allocations: 338.5 kB / 1.062 GB, free: 6.285 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002292/0.3463, allocations: 94.88 kB / 1.062 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002092/0.3484, allocations: 1.003 MB / 1.063 GB, free: 5.203 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.257e-05/0.3484, allocations: 15.98 kB / 1.063 GB, free: 5.188 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.33e-05/0.3484, allocations: 4 kB / 1.063 GB, free: 5.184 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00134/0.3498, allocations: 0.9241 MB / 1.064 GB, free: 4.188 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003531/0.3533, allocations: 1.947 MB / 1.066 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-05/0.3534, allocations: 7.984 kB / 1.066 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003753/0.3537, allocations: 91.98 kB / 1.066 GB, free: 2.074 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003445/0.3541, allocations: 84.8 kB / 1.066 GB, free: 1.988 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.905e-05/0.3542, allocations: 19.98 kB / 1.066 GB, free: 1.969 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004611/0.3546, allocations: 0.6109 MB / 1.066 GB, free: 1.332 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.3546, allocations: 4.031 kB / 1.066 GB, free: 1.328 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001978/0.3566, allocations: 1.259 MB / 1.068 GB, free: 44 kB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.515/0.8716, allocations: 291.2 kB / 1.068 GB, free: 89.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001545/0.8718, allocations: 13.44 kB / 1.068 GB, free: 89.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007465/0.8726, allocations: 59.19 kB / 1.068 GB, free: 89.49 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001591/0.8727, allocations: 49.22 kB / 1.068 GB, free: 89.49 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.948e-05/0.8728, allocations: 25.75 kB / 1.068 GB, free: 89.49 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001364/0.8742, allocations: 0.612 MB / 1.069 GB, free: 89.38 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8742, allocations: 0 / 1.069 GB, free: 89.38 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002167/0.8764, allocations: 0.6124 MB / 1.069 GB, free: 89.38 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.001106/0.8775, allocations: 0.5198 MB / 1.07 GB, free: 89.29 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001918/0.8794, allocations: 0.9264 MB / 1.071 GB, free: 89.12 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.8794, allocations: 0 / 1.071 GB, free: 89.12 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006324/0.8801, allocations: 407.3 kB / 1.071 GB, free: 88.94 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00228/0.8824, allocations: 459.4 kB / 1.071 GB, free: 88.84 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003836/0.8862, allocations: 2.335 MB / 1.074 GB, free: 87.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007642/0.887, allocations: 1.056 MB / 1.075 GB, free: 86.88 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001167/0.8882, allocations: 279.5 kB / 1.075 GB, free: 86.86 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002425/0.8884, allocations: 93.42 kB / 1.075 GB, free: 86.85 MB / 0.6823 GB Notification: Performance of SimCode: time 9.61e-07/0.8884, allocations: 0.8125 kB / 1.075 GB, free: 86.85 MB / 0.6823 GB Notification: Performance of Templates: time 0.04819/0.9366, allocations: 23.09 MB / 1.098 GB, free: 79.48 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1)