Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.242/2.242, allocations: 254.9 MB / 269.9 MB, free: 9.652 MB / 218.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.001332/0.001331, allocations: 201.4 kB / 329.5 MB, free: 1.176 MB / 250.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 2.538/2.538, allocations: 225.6 MB / 0.6001 GB, free: 416 kB / 426.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.001927/0.001927, allocations: 102.3 kB / 0.7074 GB, free: 6.176 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0005004/0.0005006, allocations: 15.69 kB / 0.8242 GB, free: 124.9 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2243, allocations: 109.1 MB / 0.9308 GB, free: 24.92 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.05652/0.2809, allocations: 41.15 MB / 0.971 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02908/0.31, allocations: 12.21 MB / 0.9829 GB, free: 3.418 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002424/0.3125, allocations: 31.81 kB / 0.9829 GB, free: 3.387 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003452/0.316, allocations: 409.3 kB / 0.9833 GB, free: 2.984 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0107/0.3268, allocations: 1.547 MB / 0.9848 GB, free: 1.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.006376/0.3332, allocations: 0.931 MB / 0.9857 GB, free: 0.4961 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.008421/0.3416, allocations: 3.634 MB / 0.9893 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00209/0.3438, allocations: 0.7696 MB / 0.99 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003628/0.3474, allocations: 1.054 MB / 0.991 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002392/0.3499, allocations: 0.8322 MB / 0.9919 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0003699/0.3503, allocations: 44 kB / 0.9919 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004423/0.3547, allocations: 1.123 MB / 0.993 GB, free: 9.004 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0004715/0.3553, allocations: 199 kB / 0.9932 GB, free: 8.809 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0006232/0.3559, allocations: 273.1 kB / 0.9934 GB, free: 8.535 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003907/0.3598, allocations: 1.711 MB / 0.9951 GB, free: 6.82 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.3599, allocations: 0 / 0.9951 GB, free: 6.82 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.514e-06/0.3599, allocations: 0 / 0.9951 GB, free: 6.82 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.695e-05/0.3599, allocations: 0 / 0.9951 GB, free: 6.82 MB / 0.6355 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.004598/0.3645, allocations: 1.44 MB / 0.9965 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.3646, allocations: 8.031 kB / 0.9965 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005348/0.3651, allocations: 135.4 kB / 0.9967 GB, free: 5.188 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004042/0.3692, allocations: 1.151 MB / 0.9978 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.173e-05/0.3693, allocations: 61.19 kB / 0.9978 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001708/0.3695, allocations: 68 kB / 0.9979 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001976/0.3715, allocations: 0.7475 MB / 0.9986 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.335e-05/0.3716, allocations: 0 / 0.9986 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/0.3717, allocations: 27.98 kB / 0.9987 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.51e-05/0.3717, allocations: 24 kB / 0.9987 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001557/0.3733, allocations: 0.5243 MB / 0.9992 GB, free: 2.508 MB / 0.6355 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.008227/0.3816, allocations: 4.52 MB / 1.004 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002025/0.3836, allocations: 360.1 kB / 1.004 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006128/0.3843, allocations: 220.7 kB / 1.004 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001897/0.3862, allocations: 1.519 MB / 1.006 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.405e-05/0.3863, allocations: 34.56 kB / 1.006 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=43): time 3.306e-06/0.3863, allocations: 0 / 1.006 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43): time 0.00404/0.3904, allocations: 0.889 MB / 1.007 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.3905, allocations: 55.41 kB / 1.007 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002105/0.3926, allocations: 0.8832 MB / 1.007 GB, free: 9.227 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001318/0.3928, allocations: 33.7 kB / 1.007 GB, free: 9.188 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000599/0.3934, allocations: 495.7 kB / 1.008 GB, free: 8.695 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002571/0.3937, allocations: 149.8 kB / 1.008 GB, free: 8.547 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.728e-05/0.3937, allocations: 15.94 kB / 1.008 GB, free: 8.531 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.3939, allocations: 326 kB / 1.008 GB, free: 8.207 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005967/0.3945, allocations: 177 kB / 1.009 GB, free: 8.031 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006638/0.3952, allocations: 319.1 kB / 1.009 GB, free: 7.664 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006611/0.3958, allocations: 240.6 kB / 1.009 GB, free: 7.43 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.942e-06/0.3959, allocations: 0 / 1.009 GB, free: 7.43 MB / 0.6511 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.002597/0.3985, allocations: 0.7099 MB / 1.01 GB, free: 6.707 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001789/0.3987, allocations: 209.3 kB / 1.01 GB, free: 6.445 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.191e-05/0.3987, allocations: 11.94 kB / 1.01 GB, free: 6.434 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009317/0.3997, allocations: 120.8 kB / 1.01 GB, free: 6.312 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000777/0.4005, allocations: 123.8 kB / 1.01 GB, free: 6.191 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007179/0.4012, allocations: 0.6187 MB / 1.011 GB, free: 5.547 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/0.4025, allocations: 91.45 kB / 1.011 GB, free: 5.457 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/0.4027, allocations: 27.98 kB / 1.011 GB, free: 5.43 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.4027, allocations: 7.906 kB / 1.011 GB, free: 5.422 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002243/0.4049, allocations: 0.6093 MB / 1.012 GB, free: 4.812 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.234e-05/0.405, allocations: 8 kB / 1.012 GB, free: 4.805 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008545/0.4059, allocations: 125 kB / 1.012 GB, free: 4.68 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000813/0.4067, allocations: 111.8 kB / 1.012 GB, free: 4.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007278/0.4075, allocations: 0.6265 MB / 1.012 GB, free: 3.918 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/0.4088, allocations: 87.48 kB / 1.013 GB, free: 3.832 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/0.4089, allocations: 31.98 kB / 1.013 GB, free: 3.801 MB / 0.6511 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.0007149/0.4096, allocations: 337.5 kB / 1.013 GB, free: 3.461 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000282/0.4099, allocations: 106.8 kB / 1.013 GB, free: 3.355 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003215/0.4132, allocations: 0.9909 MB / 1.014 GB, free: 2.355 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.437e-05/0.4132, allocations: 11.98 kB / 1.014 GB, free: 2.344 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.4132, allocations: 4 kB / 1.014 GB, free: 2.34 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002153/0.4154, allocations: 0.9318 MB / 1.015 GB, free: 1.34 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6558/1.071, allocations: 1.923 MB / 1.017 GB, free: 85.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.701e-05/1.071, allocations: 6.312 kB / 1.017 GB, free: 85.88 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009667/1.072, allocations: 93.7 kB / 1.017 GB, free: 85.88 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000792/1.073, allocations: 83.92 kB / 1.017 GB, free: 85.88 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.88e-05/1.073, allocations: 18.41 kB / 1.017 GB, free: 85.88 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007864/1.074, allocations: 0.6256 MB / 1.018 GB, free: 85.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/1.074, allocations: 5.094 kB / 1.018 GB, free: 85.36 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004592/1.079, allocations: 1.25 MB / 1.019 GB, free: 85.07 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00102/1.08, allocations: 294.2 kB / 1.019 GB, free: 84.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003109/1.08, allocations: 12.58 kB / 1.019 GB, free: 84.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001527/1.082, allocations: 63.73 kB / 1.019 GB, free: 84.9 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002193/1.082, allocations: 55.83 kB / 1.019 GB, free: 84.89 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001266/1.082, allocations: 25.44 kB / 1.019 GB, free: 84.89 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001711/1.084, allocations: 0.6102 MB / 1.02 GB, free: 84.61 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.12e-07/1.084, allocations: 0 / 1.02 GB, free: 84.61 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002693/1.087, allocations: 0.609 MB / 1.02 GB, free: 84.54 MB / 0.6511 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.001527/1.088, allocations: 0.5134 MB / 1.021 GB, free: 84.43 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002794/1.091, allocations: 0.9218 MB / 1.022 GB, free: 84.05 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/1.091, allocations: 1.031 kB / 1.022 GB, free: 84.05 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001028/1.092, allocations: 407.5 kB / 1.022 GB, free: 83.88 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004268/1.096, allocations: 476.2 kB / 1.023 GB, free: 83.78 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004941/1.101, allocations: 2.325 MB / 1.025 GB, free: 82.53 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008178/1.102, allocations: 1.055 MB / 1.026 GB, free: 81.82 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001708/1.104, allocations: 278.8 kB / 1.026 GB, free: 81.74 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000337/1.104, allocations: 94.28 kB / 1.026 GB, free: 81.73 MB / 0.6511 GB Notification: Performance of SimCode: time 1.022e-06/1.104, allocations: 0 / 1.026 GB, free: 81.73 MB / 0.6511 GB Notification: Performance of Templates: time 0.07035/1.175, allocations: 23.02 MB / 1.049 GB, free: 74.36 MB / 0.6511 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.sim & ./Buildings_7.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1)