Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.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.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.327/2.327, allocations: 254.9 MB / 269.9 MB, free: 9.637 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.001385/0.001385, allocations: 193.2 kB / 329.5 MB, free: 1.148 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.415/2.415, allocations: 225.6 MB / 0.6001 GB, free: 2.156 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.0009978/0.0009979, allocations: 109.9 kB / 0.7074 GB, free: 7.875 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.000522/0.0005223, allocations: 10.56 kB / 0.8242 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.207, allocations: 109.1 MB / 0.9308 GB, free: 25.13 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T): time 0.04062/0.2476, allocations: 32.48 MB / 0.9625 GB, free: 8.559 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01316/0.2609, allocations: 6.365 MB / 0.9687 GB, free: 2.176 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001399/0.2623, allocations: 39.69 kB / 0.9687 GB, free: 2.137 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001669/0.264, allocations: 325.8 kB / 0.969 GB, free: 1.816 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.004418/0.2684, allocations: 0.9985 MB / 0.97 GB, free: 0.8125 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003294/0.2718, allocations: 0.7249 MB / 0.9707 GB, free: 88 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.004688/0.2765, allocations: 2.504 MB / 0.9732 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001522/0.278, allocations: 0.6177 MB / 0.9738 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002576/0.2806, allocations: 0.7892 MB / 0.9745 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001446/0.2821, allocations: 0.5871 MB / 0.9751 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001685/0.2823, allocations: 32 kB / 0.9751 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002464/0.2848, allocations: 0.7134 MB / 0.9758 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003196/0.2852, allocations: 143.2 kB / 0.976 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0004488/0.2856, allocations: 225.1 kB / 0.9762 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002381/0.288, allocations: 1.185 MB / 0.9774 GB, free: 9.254 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.2881, allocations: 0 / 0.9774 GB, free: 9.254 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.235e-06/0.2881, allocations: 0 / 0.9774 GB, free: 9.254 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.278e-05/0.2881, allocations: 0 / 0.9774 GB, free: 9.254 MB / 0.6198 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.003368/0.2915, allocations: 1.199 MB / 0.9785 GB, free: 8.004 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.2916, allocations: 8.031 kB / 0.9785 GB, free: 7.996 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004859/0.2964, allocations: 0.503 MB / 0.979 GB, free: 7.492 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002273/0.2987, allocations: 0.854 MB / 0.9799 GB, free: 6.598 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.897e-05/0.2988, allocations: 45.25 kB / 0.9799 GB, free: 6.555 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001787/0.299, allocations: 60 kB / 0.98 GB, free: 6.496 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003265/0.3023, allocations: 0.8671 MB / 0.9808 GB, free: 5.582 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.655e-05/0.3024, allocations: 3.938 kB / 0.9808 GB, free: 5.578 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.3025, allocations: 24 kB / 0.9808 GB, free: 5.555 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.253e-05/0.3025, allocations: 12 kB / 0.9808 GB, free: 5.543 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004469/0.307, allocations: 0.8638 MB / 0.9817 GB, free: 4.676 MB / 0.6198 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.009966/0.317, allocations: 4.691 MB / 0.9863 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007359/0.3244, allocations: 0.9702 MB / 0.9872 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002124/0.3266, allocations: 404.6 kB / 0.9876 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001332/0.3279, allocations: 0.9494 MB / 0.9885 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.328, allocations: 38.5 kB / 0.9886 GB, free: 13.01 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=35): time 3.216e-06/0.328, allocations: 0 / 0.9886 GB, free: 13.01 MB / 0.6355 GB Notification: Performance of matching and sorting (n=35): time 0.006412/0.3344, allocations: 1.14 MB / 0.9897 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.322e-05/0.3345, allocations: 59.41 kB / 0.9897 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001446/0.336, allocations: 0.7122 MB / 0.9904 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001345/0.3361, allocations: 37.7 kB / 0.9905 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004828/0.3366, allocations: 447.8 kB / 0.9909 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001747/0.3368, allocations: 126.3 kB / 0.991 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.976e-05/0.3369, allocations: 8 kB / 0.991 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.337, allocations: 322 kB / 0.9913 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001984/0.339, allocations: 360.9 kB / 0.9917 GB, free: 9.773 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002191/0.3412, allocations: 0.5426 MB / 0.9922 GB, free: 9.152 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001984/0.3432, allocations: 371.5 kB / 0.9926 GB, free: 8.789 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.355e-06/0.3433, allocations: 8 kB / 0.9926 GB, free: 8.781 MB / 0.6355 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.004584/0.3479, allocations: 0.9264 MB / 0.9935 GB, free: 7.848 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001988/0.3481, allocations: 228.4 kB / 0.9937 GB, free: 7.562 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.3481, allocations: 4.094 kB / 0.9937 GB, free: 7.559 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.711e-05/0.3482, allocations: 11.94 kB / 0.9937 GB, free: 7.547 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001812/0.35, allocations: 215.7 kB / 0.9939 GB, free: 7.336 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.071e-05/0.35, allocations: 11.94 kB / 0.9939 GB, free: 7.324 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001808/0.3518, allocations: 159.4 kB / 0.9941 GB, free: 7.168 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.352, allocations: 27.98 kB / 0.9941 GB, free: 7.141 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.352, allocations: 4 kB / 0.9941 GB, free: 7.137 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004329/0.3563, allocations: 0.8306 MB / 0.9949 GB, free: 6.305 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.3564, allocations: 4 kB / 0.9949 GB, free: 6.301 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.3564, allocations: 8.562 kB / 0.9949 GB, free: 6.293 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001795/0.3582, allocations: 215.7 kB / 0.9951 GB, free: 6.082 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.639e-05/0.3582, allocations: 11.88 kB / 0.9951 GB, free: 6.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001798/0.36, allocations: 159.5 kB / 0.9953 GB, free: 5.914 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.904e-05/0.3602, allocations: 27.98 kB / 0.9953 GB, free: 5.887 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006191/0.3608, allocations: 312.9 kB / 0.9956 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002083/0.361, allocations: 86.95 kB / 0.9957 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004926/0.366, allocations: 1.005 MB / 0.9967 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.503e-05/0.366, allocations: 11.92 kB / 0.9967 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.366, allocations: 4 kB / 0.9967 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.366, allocations: 0 / 0.9967 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007049/0.3731, allocations: 1.918 MB / 0.9986 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/0.3731, allocations: 0 / 0.9986 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001657/0.3748, allocations: 175.9 kB / 0.9987 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.125e-05/0.3748, allocations: 4 kB / 0.9987 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-05/0.3749, allocations: 15.97 kB / 0.9988 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.235e-06/0.3749, allocations: 4 kB / 0.9988 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3749, allocations: 0 / 0.9988 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00704/0.382, allocations: 1.51 MB / 1 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006649/0.3827, allocations: 239.9 kB / 1 GB, free: 488 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001765/0.3829, allocations: 12 kB / 1 GB, free: 476 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001539/0.3845, allocations: 115.9 kB / 1.001 GB, free: 360 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.3846, allocations: 31.95 kB / 1.001 GB, free: 328 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.048e-05/0.3847, allocations: 15.98 kB / 1.001 GB, free: 312 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001126/0.3858, allocations: 0.4951 MB / 1.001 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.01e-07/0.3858, allocations: 0 / 1.001 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001946/0.3878, allocations: 435 kB / 1.002 GB, free: 15.39 MB / 0.6511 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009341/0.3888, allocations: 319.1 kB / 1.002 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.006758/0.3955, allocations: 1.285 MB / 1.003 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 9.979e-06/0.3956, allocations: 0 / 1.003 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002307/0.3979, allocations: 460 kB / 1.004 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003187/0.4011, allocations: 352 kB / 1.004 GB, free: 13 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01233/0.4135, allocations: 2.4 MB / 1.006 GB, free: 10.56 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007698/0.4143, allocations: 0.9701 MB / 1.007 GB, free: 9.566 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001738/0.4161, allocations: 206.9 kB / 1.007 GB, free: 9.359 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000414/0.4165, allocations: 75.39 kB / 1.007 GB, free: 9.285 MB / 0.6511 GB Notification: Performance of SimCode: time 9.92e-07/0.4165, allocations: 0 / 1.007 GB, free: 9.285 MB / 0.6511 GB Notification: Performance of Templates: time 0.04453/0.461, allocations: 15.08 MB / 1.022 GB, free: 10.39 MB / 0.6667 GB make -j1 -f Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.makefile (rm -f Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; mkfifo Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe >> ../files/Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.sim & ./Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe 2>&1)