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.664/1.664, allocations: 288.4 MB / 303.6 MB, free: 8.105 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.001534/0.001534, allocations: 172.5 kB / 372.3 MB, free: 10.14 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.597/1.597, allocations: 205.4 MB / 0.631 GB, free: 9.906 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.0009063/0.0009065, allocations: 98.78 kB / 0.7444 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004117/0.0004119, allocations: 11.94 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2318, allocations: 115.3 MB / 0.9801 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.03583/0.2677, allocations: 41.16 MB / 1.02 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01724/0.285, allocations: 12.16 MB / 1.032 GB, free: 5.891 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002012/0.287, allocations: 31.81 kB / 1.032 GB, free: 5.859 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001872/0.2889, allocations: 409.3 kB / 1.033 GB, free: 5.457 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.006374/0.2953, allocations: 1.639 MB / 1.034 GB, free: 3.812 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.003654/0.299, allocations: 0.9802 MB / 1.035 GB, free: 2.84 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.004939/0.304, allocations: 3.631 MB / 1.039 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001711/0.3057, allocations: 0.8345 MB / 1.04 GB, free: 14.34 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002677/0.3084, allocations: 1.12 MB / 1.041 GB, free: 13.22 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001852/0.3103, allocations: 0.8245 MB / 1.041 GB, free: 12.39 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0002827/0.3106, allocations: 44 kB / 1.041 GB, free: 12.35 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00315/0.3137, allocations: 1.352 MB / 1.043 GB, free: 10.99 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0003796/0.3141, allocations: 207 kB / 1.043 GB, free: 10.79 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.001196/0.3153, allocations: 0.5849 MB / 1.044 GB, free: 10.2 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.003169/0.3185, allocations: 1.796 MB / 1.045 GB, free: 8.395 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.3185, allocations: 0 / 1.045 GB, free: 8.395 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3185, allocations: 0 / 1.045 GB, free: 8.395 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 5.408e-05/0.3186, allocations: 0 / 1.045 GB, free: 8.395 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.003522/0.3221, allocations: 1.425 MB / 1.047 GB, free: 6.914 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.3222, allocations: 8.031 kB / 1.047 GB, free: 6.906 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004533/0.3226, allocations: 131.4 kB / 1.047 GB, free: 6.777 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002639/0.3253, allocations: 1.201 MB / 1.048 GB, free: 5.531 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.596e-05/0.3253, allocations: 57.3 kB / 1.048 GB, free: 5.477 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.3255, allocations: 64 kB / 1.048 GB, free: 5.414 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001399/0.3269, allocations: 0.7553 MB / 1.049 GB, free: 4.629 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.3269, allocations: 3.938 kB / 1.049 GB, free: 4.625 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.02e-05/0.327, allocations: 24 kB / 1.049 GB, free: 4.602 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.012e-05/0.327, allocations: 24 kB / 1.049 GB, free: 4.578 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009485/0.328, allocations: 0.5281 MB / 1.049 GB, free: 4.047 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.006006/0.334, allocations: 4.516 MB / 1.054 GB, free: 15.13 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007489/0.3347, allocations: 370.6 kB / 1.054 GB, free: 14.76 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003399/0.3351, allocations: 212.7 kB / 1.054 GB, free: 14.55 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001739/0.3369, allocations: 1.519 MB / 1.056 GB, free: 12.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.825e-05/0.3369, allocations: 38.56 kB / 1.056 GB, free: 12.65 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=43): time 3.336e-06/0.3369, allocations: 0 / 1.056 GB, free: 12.65 MB / 0.6823 GB Notification: Performance of matching and sorting (n=43): time 0.002395/0.3393, allocations: 0.889 MB / 1.057 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.3394, allocations: 55.41 kB / 1.057 GB, free: 11.67 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/0.3408, allocations: 0.8792 MB / 1.058 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.842e-05/0.3409, allocations: 37.7 kB / 1.058 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004328/0.3413, allocations: 495.8 kB / 1.058 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000147/0.3415, allocations: 149.7 kB / 1.058 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.75e-05/0.3415, allocations: 12 kB / 1.058 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.3416, allocations: 329.9 kB / 1.059 GB, free: 9.742 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003254/0.342, allocations: 177 kB / 1.059 GB, free: 9.566 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004908/0.3425, allocations: 329.2 kB / 1.059 GB, free: 9.188 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007873/0.3433, allocations: 0.5292 MB / 1.06 GB, free: 8.602 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.804e-06/0.3433, allocations: 7.938 kB / 1.06 GB, free: 8.594 MB / 0.6823 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001616/0.3449, allocations: 0.7019 MB / 1.06 GB, free: 7.883 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001759/0.3451, allocations: 211 kB / 1.061 GB, free: 7.617 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.94e-05/0.3451, allocations: 8 kB / 1.061 GB, free: 7.609 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005877/0.3457, allocations: 124.8 kB / 1.061 GB, free: 7.484 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004415/0.3462, allocations: 115.8 kB / 1.061 GB, free: 7.371 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005938/0.3468, allocations: 0.6188 MB / 1.061 GB, free: 6.727 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009029/0.3477, allocations: 95.39 kB / 1.062 GB, free: 6.633 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.842e-05/0.3478, allocations: 27.98 kB / 1.062 GB, free: 6.605 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/0.3478, allocations: 4 kB / 1.062 GB, free: 6.602 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001297/0.3491, allocations: 0.6052 MB / 1.062 GB, free: 5.992 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/0.3491, allocations: 4 kB / 1.062 GB, free: 5.988 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004692/0.3496, allocations: 116.7 kB / 1.062 GB, free: 5.871 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003806/0.35, allocations: 124 kB / 1.062 GB, free: 5.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005092/0.3505, allocations: 0.6187 MB / 1.063 GB, free: 5.105 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000706/0.3512, allocations: 87.48 kB / 1.063 GB, free: 5.02 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.789e-05/0.3513, allocations: 31.97 kB / 1.063 GB, free: 4.988 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.0005527/0.3519, allocations: 348.9 kB / 1.063 GB, free: 4.637 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.352, allocations: 98.78 kB / 1.064 GB, free: 4.539 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001977/0.354, allocations: 0.9964 MB / 1.064 GB, free: 3.551 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.137e-05/0.3541, allocations: 11.98 kB / 1.064 GB, free: 3.539 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/0.3541, allocations: 4 kB / 1.064 GB, free: 3.535 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001354/0.3555, allocations: 0.9241 MB / 1.065 GB, free: 2.543 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003266/0.3587, allocations: 1.939 MB / 1.067 GB, free: 0.5352 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.575e-05/0.3588, allocations: 8 kB / 1.067 GB, free: 0.5273 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000365/0.3591, allocations: 95.88 kB / 1.067 GB, free: 444 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003318/0.3595, allocations: 77 kB / 1.067 GB, free: 364 kB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.699e-05/0.3595, allocations: 27.91 kB / 1.067 GB, free: 336 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4688/0.8283, allocations: 0.6105 MB / 1.068 GB, free: 88.62 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.8284, allocations: 3.156 kB / 1.068 GB, free: 88.62 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004047/0.8325, allocations: 1.258 MB / 1.069 GB, free: 88.46 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001269/0.8338, allocations: 292.7 kB / 1.07 GB, free: 88.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006764/0.8345, allocations: 15.59 kB / 1.07 GB, free: 88.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/0.8357, allocations: 62.84 kB / 1.07 GB, free: 88.36 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002178/0.8359, allocations: 48.92 kB / 1.07 GB, free: 88.36 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/0.836, allocations: 30.33 kB / 1.07 GB, free: 88.36 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0015/0.8375, allocations: 0.6098 MB / 1.07 GB, free: 88.08 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.01e-07/0.8375, allocations: 0 / 1.07 GB, free: 88.08 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003278/0.8408, allocations: 0.6138 MB / 1.071 GB, free: 88.04 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.001589/0.8424, allocations: 0.5281 MB / 1.071 GB, free: 87.93 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002386/0.8448, allocations: 0.9285 MB / 1.072 GB, free: 87.55 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.8449, allocations: 3.938 kB / 1.072 GB, free: 87.55 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008602/0.8457, allocations: 406.6 kB / 1.073 GB, free: 87.37 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002718/0.8485, allocations: 462.2 kB / 1.073 GB, free: 87.28 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004679/0.8532, allocations: 2.334 MB / 1.075 GB, free: 86.04 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009896/0.8542, allocations: 1.055 MB / 1.077 GB, free: 85.32 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0017/0.8559, allocations: 285.4 kB / 1.077 GB, free: 85.27 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003194/0.8562, allocations: 94.2 kB / 1.077 GB, free: 85.26 MB / 0.6823 GB Notification: Performance of SimCode: time 2.274e-06/0.8562, allocations: 3.938 kB / 1.077 GB, free: 85.25 MB / 0.6823 GB Notification: Performance of Templates: time 0.04967/0.9059, allocations: 23.39 MB / 1.1 GB, free: 77.56 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)