Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.759/1.759, allocations: 297.4 MB / 312.6 MB, free: 2.887 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.001033/0.001033, allocations: 186 kB / 382.3 MB, free: 14.79 MB / 314.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.52/1.52, allocations: 225.7 MB / 0.6617 GB, free: 7.211 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.0008459/0.0008459, allocations: 92.09 kB / 0.7789 GB, free: 47.09 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003979/0.0003979, allocations: 13.94 kB / 0.9058 GB, free: 4.902 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7502/0.7507, allocations: 119.2 MB / 1.022 GB, free: 58.46 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.03858/0.7893, allocations: 44.4 MB / 1.066 GB, free: 25.95 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01715/0.8065, allocations: 17.87 MB / 1.083 GB, free: 10.55 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002126/0.8087, allocations: 35.09 kB / 1.083 GB, free: 10.54 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001632/0.8103, allocations: 487.8 kB / 1.084 GB, free: 10.26 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005321/0.8156, allocations: 1.809 MB / 1.085 GB, free: 9.195 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003425/0.8191, allocations: 1.182 MB / 1.086 GB, free: 8.527 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004757/0.8239, allocations: 4.189 MB / 1.091 GB, free: 6.938 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001344/0.8252, allocations: 0.8301 MB / 1.091 GB, free: 6.629 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002442/0.8277, allocations: 1.164 MB / 1.093 GB, free: 6.113 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001221/0.8289, allocations: 0.877 MB / 1.093 GB, free: 5.746 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000119/0.829, allocations: 44.94 kB / 1.093 GB, free: 5.746 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003113/0.8322, allocations: 1.363 MB / 1.095 GB, free: 5.289 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002288/0.8324, allocations: 202.2 kB / 1.095 GB, free: 5.18 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007801/0.8332, allocations: 0.6114 MB / 1.096 GB, free: 4.812 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003435/0.8366, allocations: 2.328 MB / 1.098 GB, free: 4.125 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.8366, allocations: 0 / 1.098 GB, free: 4.125 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.964e-06/0.8367, allocations: 4 kB / 1.098 GB, free: 4.121 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.462e-05/0.8367, allocations: 0 / 1.098 GB, free: 4.121 MB / 0.698 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.002714/0.8394, allocations: 1.42 MB / 1.099 GB, free: 3.156 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.8394, allocations: 9.406 kB / 1.099 GB, free: 3.156 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002688/0.8397, allocations: 137.4 kB / 1.099 GB, free: 3.094 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002128/0.8419, allocations: 1.202 MB / 1.101 GB, free: 2.363 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.881e-05/0.8419, allocations: 55.55 kB / 1.101 GB, free: 2.336 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.842, allocations: 65.12 kB / 1.101 GB, free: 2.316 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.8432, allocations: 0.7557 MB / 1.101 GB, free: 1.945 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.8432, allocations: 0 / 1.101 GB, free: 1.945 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.961e-05/0.8433, allocations: 26.28 kB / 1.101 GB, free: 1.926 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.288e-05/0.8433, allocations: 18.59 kB / 1.101 GB, free: 1.926 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008357/0.8442, allocations: 0.529 MB / 1.102 GB, free: 1.727 MB / 0.698 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.004927/0.8491, allocations: 4.525 MB / 1.106 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00072/0.8498, allocations: 361.7 kB / 1.107 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003495/0.8502, allocations: 213.5 kB / 1.107 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001585/0.8518, allocations: 1.522 MB / 1.108 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.8518, allocations: 42.5 kB / 1.108 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=43): time 4.178e-06/0.8519, allocations: 2.016 kB / 1.108 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of matching and sorting (n=43): time 0.00219/0.854, allocations: 0.8845 MB / 1.109 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.557e-05/0.8541, allocations: 54.59 kB / 1.109 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001406/0.8555, allocations: 0.8776 MB / 1.11 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.55e-05/0.8556, allocations: 36.95 kB / 1.11 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004076/0.856, allocations: 489.8 kB / 1.111 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000167/0.8562, allocations: 154.7 kB / 1.111 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.55e-05/0.8562, allocations: 8 kB / 1.111 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.8564, allocations: 331 kB / 1.111 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002856/0.8567, allocations: 180.8 kB / 1.111 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004412/0.8571, allocations: 325.2 kB / 1.112 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007077/0.8578, allocations: 0.5164 MB / 1.112 GB, free: 9.781 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.8578, allocations: 3 kB / 1.112 GB, free: 9.781 MB / 0.7136 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001472/0.8593, allocations: 0.7276 MB / 1.113 GB, free: 9.469 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.00015/0.8595, allocations: 206.5 kB / 1.113 GB, free: 9.219 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.323e-05/0.8595, allocations: 10.22 kB / 1.113 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005478/0.8601, allocations: 121.3 kB / 1.113 GB, free: 9.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000371/0.8605, allocations: 108.7 kB / 1.113 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005941/0.8611, allocations: 0.624 MB / 1.114 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008337/0.8619, allocations: 100.5 kB / 1.114 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.957e-05/0.862, allocations: 29.05 kB / 1.114 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.505e-06/0.862, allocations: 5.812 kB / 1.114 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00119/0.8632, allocations: 0.6007 MB / 1.115 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-05/0.8632, allocations: 10.08 kB / 1.115 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004571/0.8637, allocations: 119.3 kB / 1.115 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003518/0.8641, allocations: 119.6 kB / 1.115 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004884/0.8646, allocations: 0.6246 MB / 1.115 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007605/0.8653, allocations: 88.81 kB / 1.116 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.247e-05/0.8654, allocations: 29.17 kB / 1.116 GB, free: 7.656 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 (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.0006625/0.8661, allocations: 342.7 kB / 1.116 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001749/0.8663, allocations: 96.91 kB / 1.116 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00225/0.8685, allocations: 1.01 MB / 1.117 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-05/0.8686, allocations: 14.06 kB / 1.117 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.8686, allocations: 5.125 kB / 1.117 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001482/0.8701, allocations: 0.9216 MB / 1.118 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003568/0.8736, allocations: 1.939 MB / 1.12 GB, free: 5.348 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-05/0.8737, allocations: 11.59 kB / 1.12 GB, free: 5.344 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003594/0.8741, allocations: 88.55 kB / 1.12 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003421/0.8744, allocations: 85.52 kB / 1.12 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.5e-05/0.8745, allocations: 21.77 kB / 1.12 GB, free: 5.297 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004577/0.8749, allocations: 0.6244 MB / 1.121 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.8749, allocations: 0.9688 kB / 1.121 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002098/0.877, allocations: 1.255 MB / 1.122 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005325/0.8776, allocations: 293.7 kB / 1.122 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001519/0.8777, allocations: 14.64 kB / 1.122 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005701/0.8783, allocations: 62.62 kB / 1.122 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.8785, allocations: 48 kB / 1.122 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.855e-05/0.8785, allocations: 28.98 kB / 1.122 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001043/0.8796, allocations: 0.6104 MB / 1.123 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8796, allocations: 3.938 kB / 1.123 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00223/0.8818, allocations: 0.6132 MB / 1.123 GB, free: 3.426 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 (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.001184/0.883, allocations: 0.5285 MB / 1.124 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001877/0.8849, allocations: 0.9268 MB / 1.125 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.8849, allocations: 0 / 1.125 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006225/0.8856, allocations: 413.8 kB / 1.125 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002179/0.8878, allocations: 466.5 kB / 1.126 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003581/0.8913, allocations: 2.362 MB / 1.128 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000723/0.8921, allocations: 1.057 MB / 1.129 GB, free: 324 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001103/0.8932, allocations: 277 kB / 1.129 GB, free: 244 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002154/0.8934, allocations: 90.92 kB / 1.129 GB, free: 228 kB / 0.7136 GB Notification: Performance of SimCode: time 3.046e-06/0.8934, allocations: 0 / 1.129 GB, free: 228 kB / 0.7136 GB Notification: Performance of Templates: time 0.05222/0.9457, allocations: 23.65 MB / 1.153 GB, free: 9.91 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.makefile (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1)