Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.712/1.712, allocations: 291.7 MB / 306.8 MB, free: 7.691 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001029/0.00103, allocations: 189.5 kB / 375.4 MB, free: 5.125 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.769/1.769, allocations: 225.7 MB / 0.6538 GB, free: 13.62 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007896/0.0007895, allocations: 95.17 kB / 0.7699 GB, free: 50.32 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004361/0.0004361, allocations: 12 kB / 0.8956 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7416/0.742, allocations: 118.1 MB / 1.011 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.03894/0.781, allocations: 41.16 MB / 1.051 GB, free: 36.02 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.01922/0.8003, allocations: 12.23 MB / 1.063 GB, free: 27.29 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003285/0.8037, allocations: 33.72 kB / 1.063 GB, free: 27.27 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002295/0.806, allocations: 414.2 kB / 1.063 GB, free: 27.05 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.007182/0.8132, allocations: 1.54 MB / 1.065 GB, free: 26.18 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.004506/0.8177, allocations: 0.9411 MB / 1.066 GB, free: 25.73 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.006273/0.824, allocations: 3.64 MB / 1.069 GB, free: 24.2 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001878/0.8259, allocations: 0.8324 MB / 1.07 GB, free: 23.9 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003202/0.8292, allocations: 1.061 MB / 1.071 GB, free: 23.45 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001926/0.8311, allocations: 0.8299 MB / 1.072 GB, free: 23.11 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001853/0.8313, allocations: 49.66 kB / 1.072 GB, free: 23.11 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003507/0.8348, allocations: 1.118 MB / 1.073 GB, free: 22.76 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0002933/0.8351, allocations: 195.5 kB / 1.073 GB, free: 22.65 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0005872/0.8357, allocations: 272.1 kB / 1.074 GB, free: 22.5 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003229/0.839, allocations: 1.722 MB / 1.075 GB, free: 22.07 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.839, allocations: 0 / 1.075 GB, free: 22.07 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.074e-06/0.839, allocations: 3.375 kB / 1.075 GB, free: 22.07 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.869e-05/0.8391, allocations: 0 / 1.075 GB, free: 22.07 MB / 0.7136 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.003341/0.8424, allocations: 1.426 MB / 1.077 GB, free: 21.11 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.8425, allocations: 9.344 kB / 1.077 GB, free: 21.11 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003149/0.8428, allocations: 130.9 kB / 1.077 GB, free: 21.04 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002293/0.8451, allocations: 1.205 MB / 1.078 GB, free: 20.31 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.338e-05/0.8452, allocations: 49.84 kB / 1.078 GB, free: 20.29 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.8453, allocations: 68.41 kB / 1.078 GB, free: 20.27 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/0.8465, allocations: 0.7546 MB / 1.079 GB, free: 19.9 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/0.8465, allocations: 0 / 1.079 GB, free: 19.9 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.25e-05/0.8466, allocations: 29.59 kB / 1.079 GB, free: 19.88 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.71e-05/0.8466, allocations: 16.06 kB / 1.079 GB, free: 19.88 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000835/0.8474, allocations: 0.5251 MB / 1.079 GB, free: 19.68 MB / 0.7136 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.004332/0.8518, allocations: 4.533 MB / 1.084 GB, free: 16.07 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006518/0.8524, allocations: 363.2 kB / 1.084 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003015/0.8528, allocations: 210 kB / 1.084 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00107/0.8538, allocations: 1.519 MB / 1.086 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.8539, allocations: 34.56 kB / 1.086 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=43): time 3.887e-06/0.8539, allocations: 7.094 kB / 1.086 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of matching and sorting (n=43): time 0.001992/0.8559, allocations: 0.882 MB / 1.087 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.8559, allocations: 62.44 kB / 1.087 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/0.8571, allocations: 0.8732 MB / 1.088 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.184e-05/0.8571, allocations: 40.58 kB / 1.088 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003148/0.8574, allocations: 489.8 kB / 1.088 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/0.8576, allocations: 154 kB / 1.088 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-05/0.8576, allocations: 11.19 kB / 1.088 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.905e-05/0.8577, allocations: 331.9 kB / 1.089 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002648/0.858, allocations: 172 kB / 1.089 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003406/0.8583, allocations: 329.2 kB / 1.089 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006516/0.859, allocations: 0.5147 MB / 1.09 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.859, allocations: 3.062 kB / 1.09 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001297/0.8603, allocations: 0.7074 MB / 1.09 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001091/0.8604, allocations: 213.6 kB / 1.091 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.346e-05/0.8604, allocations: 11.34 kB / 1.091 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005588/0.861, allocations: 121.8 kB / 1.091 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003567/0.8614, allocations: 118.7 kB / 1.091 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004097/0.8618, allocations: 0.6174 MB / 1.091 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007523/0.8626, allocations: 92.64 kB / 1.092 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.32e-05/0.8626, allocations: 34.25 kB / 1.092 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.095e-06/0.8627, allocations: 3.438 kB / 1.092 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001113/0.8638, allocations: 0.6062 MB / 1.092 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.8638, allocations: 6.75 kB / 1.092 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000426/0.8642, allocations: 120.8 kB / 1.092 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003368/0.8646, allocations: 117.3 kB / 1.092 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003576/0.8649, allocations: 0.625 MB / 1.093 GB, free: 9.668 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006549/0.8656, allocations: 91.28 kB / 1.093 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.226e-05/0.8657, allocations: 32.59 kB / 1.093 GB, free: 9.621 MB / 0.7136 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.0005171/0.8662, allocations: 334.6 kB / 1.093 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.8663, allocations: 97.31 kB / 1.094 GB, free: 9.297 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001767/0.8681, allocations: 1.014 MB / 1.095 GB, free: 8.914 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.991e-05/0.8682, allocations: 10.09 kB / 1.095 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.8682, allocations: 0 / 1.095 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001212/0.8694, allocations: 0.9227 MB / 1.095 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002865/0.8723, allocations: 1.95 MB / 1.097 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.48e-05/0.8723, allocations: 2.812 kB / 1.097 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003308/0.8726, allocations: 93.72 kB / 1.097 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003119/0.8729, allocations: 85.42 kB / 1.098 GB, free: 7.312 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.738e-05/0.873, allocations: 14.41 kB / 1.098 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000337/0.8733, allocations: 0.63 MB / 1.098 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.8734, allocations: 0.7812 kB / 1.098 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001646/0.875, allocations: 1.256 MB / 1.099 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004634/0.8755, allocations: 294 kB / 1.1 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/0.8756, allocations: 15.62 kB / 1.1 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005293/0.8761, allocations: 61.45 kB / 1.1 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.8763, allocations: 43.86 kB / 1.1 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.376e-05/0.8763, allocations: 30.45 kB / 1.1 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008541/0.8772, allocations: 0.612 MB / 1.1 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8772, allocations: 0 / 1.1 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001763/0.879, allocations: 0.6113 MB / 1.101 GB, free: 5.438 MB / 0.7136 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.001013/0.88, allocations: 0.516 MB / 1.101 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001555/0.8815, allocations: 0.9239 MB / 1.102 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.8816, allocations: 4.062 kB / 1.102 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004926/0.8821, allocations: 403.7 kB / 1.103 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002108/0.8842, allocations: 468.9 kB / 1.103 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002898/0.8871, allocations: 2.333 MB / 1.106 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004348/0.8875, allocations: 1.052 MB / 1.107 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0009629/0.8885, allocations: 283.4 kB / 1.107 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001757/0.8887, allocations: 88.45 kB / 1.107 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of SimCode: time 6.01e-07/0.8887, allocations: 4 kB / 1.107 GB, free: 2.363 MB / 0.7136 GB Notification: Performance of Templates: time 0.03934/0.928, allocations: 23.13 MB / 1.129 GB, free: 348 kB / 0.7136 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)