Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T") translateModel(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.213/1.213, allocations: 255.9 MB / 271.2 MB, free: 8.879 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.0009379/0.000938, allocations: 190 kB / 330.8 MB, free: 452 kB / 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 1.305/1.305, allocations: 225.7 MB / 0.6016 GB, free: 1.645 MB / 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.0007047/0.0007047, allocations: 99.56 kB / 0.709 GB, free: 7.094 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0002634/0.0002635, allocations: 9.125 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1409, allocations: 109.2 MB / 0.9327 GB, free: 6.254 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T): time 0.02703/0.168, allocations: 35.02 MB / 0.967 GB, free: 2.598 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.008563/0.1766, allocations: 9.52 MB / 0.9762 GB, free: 8.344 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008425/0.1774, allocations: 43.69 kB / 0.9763 GB, free: 8.301 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009891/0.1784, allocations: 389.8 kB / 0.9767 GB, free: 7.918 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002432/0.1809, allocations: 1.174 MB / 0.9778 GB, free: 6.738 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001835/0.1827, allocations: 0.9358 MB / 0.9787 GB, free: 5.801 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002634/0.1854, allocations: 2.883 MB / 0.9815 GB, free: 2.906 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008545/0.1862, allocations: 0.6137 MB / 0.9821 GB, free: 2.277 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00144/0.1877, allocations: 0.8943 MB / 0.983 GB, free: 1.379 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007764/0.1885, allocations: 0.6103 MB / 0.9836 GB, free: 0.7656 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.681e-05/0.1886, allocations: 36 kB / 0.9836 GB, free: 0.7305 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001409/0.19, allocations: 0.8419 MB / 0.9845 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001624/0.1902, allocations: 159.2 kB / 0.9846 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0004759/0.1907, allocations: 491.1 kB / 0.9851 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001688/0.1924, allocations: 1.612 MB / 0.9867 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.1924, allocations: 0 / 0.9867 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.926e-06/0.1924, allocations: 0 / 0.9867 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.532e-05/0.1924, allocations: 3.938 kB / 0.9867 GB, free: 13.62 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: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.002056/0.1945, allocations: 1.184 MB / 0.9878 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.1945, allocations: 13.11 kB / 0.9878 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002411/0.1969, allocations: 0.5069 MB / 0.9883 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/0.1982, allocations: 0.8844 MB / 0.9892 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.042e-05/0.1983, allocations: 49.31 kB / 0.9892 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-05/0.1984, allocations: 59.98 kB / 0.9893 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/0.2001, allocations: 0.8593 MB / 0.9901 GB, free: 9.93 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.2001, allocations: 0 / 0.9901 GB, free: 9.93 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.396e-05/0.2002, allocations: 28 kB / 0.9902 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.2002, allocations: 16 kB / 0.9902 GB, free: 9.887 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002098/0.2023, allocations: 0.8598 MB / 0.991 GB, free: 9.027 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.005077/0.2074, allocations: 4.695 MB / 0.9956 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003376/0.2107, allocations: 0.9742 MB / 0.9965 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009344/0.2117, allocations: 404.6 kB / 0.9969 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007407/0.2124, allocations: 0.9493 MB / 0.9979 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.2125, allocations: 34.56 kB / 0.9979 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=35): time 1.383e-06/0.2125, allocations: 4 kB / 0.9979 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of matching and sorting (n=35): time 0.002939/0.2154, allocations: 1.145 MB / 0.999 GB, free: 204 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/0.2155, allocations: 55.41 kB / 0.9991 GB, free: 136 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.29/0.5055, allocations: 0.7138 MB / 0.9998 GB, free: 71.12 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001224/0.5056, allocations: 32.95 kB / 0.9998 GB, free: 71.09 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003442/0.506, allocations: 447.5 kB / 1 GB, free: 71 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.5061, allocations: 128.6 kB / 1 GB, free: 70.98 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.06e-05/0.5061, allocations: 9.375 kB / 1 GB, free: 70.98 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.135e-05/0.5062, allocations: 322.8 kB / 1.001 GB, free: 70.67 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001074/0.5073, allocations: 364.1 kB / 1.001 GB, free: 70.66 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/0.5083, allocations: 0.5404 MB / 1.002 GB, free: 70.36 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001864/0.5102, allocations: 0.8105 MB / 1.002 GB, free: 70.03 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.5102, allocations: 1.562 kB / 1.002 GB, free: 70.03 MB / 0.6355 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002263/0.5125, allocations: 0.9318 MB / 1.003 GB, free: 69.75 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.546e-05/0.5126, allocations: 221.5 kB / 1.003 GB, free: 69.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.5126, allocations: 4.312 kB / 1.003 GB, free: 69.49 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.5126, allocations: 9.219 kB / 1.003 GB, free: 69.49 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008943/0.5135, allocations: 214.7 kB / 1.004 GB, free: 69.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.5135, allocations: 7.484 kB / 1.004 GB, free: 69.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008736/0.5144, allocations: 165.2 kB / 1.004 GB, free: 69.45 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.598e-05/0.5145, allocations: 27.31 kB / 1.004 GB, free: 69.44 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.412e-06/0.5145, allocations: 7.188 kB / 1.004 GB, free: 69.44 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002037/0.5166, allocations: 0.8288 MB / 1.005 GB, free: 69.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.5166, allocations: 5.469 kB / 1.005 GB, free: 69.22 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.5166, allocations: 7.797 kB / 1.005 GB, free: 69.22 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008539/0.5174, allocations: 219.6 kB / 1.005 GB, free: 69.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.5175, allocations: 7.297 kB / 1.005 GB, free: 69.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008324/0.5183, allocations: 157.1 kB / 1.005 GB, free: 69.17 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-05/0.5184, allocations: 31.11 kB / 1.005 GB, free: 69.16 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (55): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003089/0.5187, allocations: 308.5 kB / 1.005 GB, free: 68.9 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.5188, allocations: 86.16 kB / 1.005 GB, free: 68.86 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002487/0.5213, allocations: 1.015 MB / 1.006 GB, free: 68.52 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.425e-05/0.5213, allocations: 8.953 kB / 1.006 GB, free: 68.52 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.5213, allocations: 4.625 kB / 1.006 GB, free: 68.52 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.5213, allocations: 2.672 kB / 1.006 GB, free: 68.52 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003627/0.525, allocations: 1.904 MB / 1.008 GB, free: 67.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.525, allocations: 5.219 kB / 1.008 GB, free: 67.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007962/0.5258, allocations: 175 kB / 1.009 GB, free: 67.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.5258, allocations: 2.312 kB / 1.009 GB, free: 67.64 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.357e-05/0.5259, allocations: 22.16 kB / 1.009 GB, free: 67.63 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.5259, allocations: 1.875 kB / 1.009 GB, free: 67.63 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.5259, allocations: 1.891 kB / 1.009 GB, free: 67.63 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003237/0.5291, allocations: 1.505 MB / 1.01 GB, free: 67.04 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002714/0.5294, allocations: 242 kB / 1.01 GB, free: 66.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.503e-05/0.5295, allocations: 7.562 kB / 1.01 GB, free: 66.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007265/0.5302, allocations: 123.8 kB / 1.01 GB, free: 66.82 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.8e-05/0.5303, allocations: 36.81 kB / 1.01 GB, free: 66.81 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.731e-05/0.5304, allocations: 14.72 kB / 1.01 GB, free: 66.81 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0006115/0.531, allocations: 0.493 MB / 1.011 GB, free: 66.59 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.11e-07/0.531, allocations: 0.7812 kB / 1.011 GB, free: 66.59 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001205/0.5322, allocations: 438.9 kB / 1.011 GB, free: 66.52 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (pla.coo.outCon.T,pla.hea.outCon.T) * 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 (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005563/0.5328, allocations: 324.6 kB / 1.012 GB, free: 66.38 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003206/0.536, allocations: 1.276 MB / 1.013 GB, free: 66.05 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.536, allocations: 0 / 1.013 GB, free: 66.05 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001044/0.5371, allocations: 457.8 kB / 1.013 GB, free: 65.92 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001497/0.5386, allocations: 356.1 kB / 1.014 GB, free: 65.84 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00563/0.5442, allocations: 2.424 MB / 1.016 GB, free: 64.63 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003683/0.5446, allocations: 0.9688 MB / 1.017 GB, free: 63.92 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000894/0.5455, allocations: 221.3 kB / 1.017 GB, free: 63.84 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002113/0.5457, allocations: 84.12 kB / 1.017 GB, free: 63.82 MB / 0.6355 GB Notification: Performance of SimCode: time 4.71e-07/0.5457, allocations: 0 / 1.017 GB, free: 63.82 MB / 0.6355 GB Notification: Performance of Templates: time 0.02279/0.5685, allocations: 15.48 MB / 1.032 GB, free: 58.84 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.makefile (rm -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.sim & ./Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe 2>&1)