Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.677/1.677, allocations: 306.1 MB / 321.4 MB, free: 10.67 MB / 250.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.001167/0.001166, allocations: 183.2 kB / 393.1 MB, free: 4.047 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.397/1.397, allocations: 225.7 MB / 0.6743 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000862/0.000862, allocations: 91.44 kB / 0.7935 GB, free: 39.97 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003459/0.000346, allocations: 8 kB / 0.9224 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6506/0.6509, allocations: 121.3 MB / 1.041 GB, free: 58.12 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T): time 0.02907/0.6801, allocations: 35.04 MB / 1.075 GB, free: 32.18 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.009634/0.6898, allocations: 9.621 MB / 1.084 GB, free: 23.81 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001417/0.6912, allocations: 42.03 kB / 1.085 GB, free: 23.79 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001217/0.6925, allocations: 392.4 kB / 1.085 GB, free: 23.56 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003309/0.6958, allocations: 1.19 MB / 1.086 GB, free: 22.84 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002378/0.6982, allocations: 0.9443 MB / 1.087 GB, free: 22.29 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003231/0.7014, allocations: 2.906 MB / 1.09 GB, free: 21.14 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009999/0.7024, allocations: 0.6398 MB / 1.09 GB, free: 20.9 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002003/0.7045, allocations: 0.8859 MB / 1.091 GB, free: 20.49 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008195/0.7053, allocations: 0.6102 MB / 1.092 GB, free: 20.23 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.846e-05/0.7054, allocations: 31.5 kB / 1.092 GB, free: 20.23 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001812/0.7072, allocations: 0.8563 MB / 1.093 GB, free: 19.95 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001552/0.7074, allocations: 160 kB / 1.093 GB, free: 19.86 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004466/0.7078, allocations: 486.4 kB / 1.093 GB, free: 19.56 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001789/0.7096, allocations: 1.614 MB / 1.095 GB, free: 19.05 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.7096, allocations: 0 / 1.095 GB, free: 19.05 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7096, allocations: 1.375 kB / 1.095 GB, free: 19.05 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.193e-05/0.7097, allocations: 4 kB / 1.095 GB, free: 19.05 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: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.001961/0.7116, allocations: 1.183 MB / 1.096 GB, free: 18.22 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.7117, allocations: 6.531 kB / 1.096 GB, free: 18.22 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002466/0.7142, allocations: 0.4997 MB / 1.097 GB, free: 18.14 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001387/0.7155, allocations: 0.8906 MB / 1.097 GB, free: 17.56 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.232e-05/0.7156, allocations: 43.5 kB / 1.098 GB, free: 17.55 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.7157, allocations: 59.97 kB / 1.098 GB, free: 17.53 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001861/0.7176, allocations: 0.8673 MB / 1.098 GB, free: 17.13 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.7176, allocations: 1.375 kB / 1.098 GB, free: 17.13 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.67e-05/0.7177, allocations: 26.19 kB / 1.098 GB, free: 17.11 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.792e-05/0.7177, allocations: 14.19 kB / 1.098 GB, free: 17.11 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002356/0.7201, allocations: 0.8606 MB / 1.099 GB, free: 16.85 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.005712/0.7258, allocations: 4.703 MB / 1.104 GB, free: 13.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003717/0.7295, allocations: 0.9668 MB / 1.105 GB, free: 12.86 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001052/0.7306, allocations: 403.8 kB / 1.105 GB, free: 12.74 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007783/0.7314, allocations: 0.9543 MB / 1.106 GB, free: 11.69 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.7314, allocations: 37.62 kB / 1.106 GB, free: 11.64 MB / 0.698 GB Notification: Performance of pre-optimization done (n=35): time 3.036e-06/0.7314, allocations: 4 kB / 1.106 GB, free: 11.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=35): time 0.003489/0.7349, allocations: 1.138 MB / 1.107 GB, free: 11.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.735, allocations: 54.69 kB / 1.107 GB, free: 11.24 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/0.7362, allocations: 0.7234 MB / 1.108 GB, free: 10.93 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.054e-05/0.7363, allocations: 37.11 kB / 1.108 GB, free: 10.89 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003189/0.7366, allocations: 433.2 kB / 1.109 GB, free: 10.55 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.7368, allocations: 132.6 kB / 1.109 GB, free: 10.44 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.381e-05/0.7368, allocations: 5.469 kB / 1.109 GB, free: 10.44 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.944e-05/0.7369, allocations: 333.6 kB / 1.109 GB, free: 10.12 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001052/0.7379, allocations: 362.8 kB / 1.109 GB, free: 10.02 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001209/0.7392, allocations: 0.538 MB / 1.11 GB, free: 9.703 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002052/0.7412, allocations: 0.8073 MB / 1.111 GB, free: 9.336 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.7412, allocations: 2.562 kB / 1.111 GB, free: 9.336 MB / 0.698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002592/0.7438, allocations: 0.9423 MB / 1.112 GB, free: 9.016 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001223/0.744, allocations: 216.4 kB / 1.112 GB, free: 8.758 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.744, allocations: 4.25 kB / 1.112 GB, free: 8.758 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.935e-05/0.744, allocations: 10.16 kB / 1.112 GB, free: 8.754 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009543/0.745, allocations: 215.5 kB / 1.112 GB, free: 8.734 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.277e-05/0.745, allocations: 9.688 kB / 1.112 GB, free: 8.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/0.7462, allocations: 167.3 kB / 1.112 GB, free: 8.688 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/0.7463, allocations: 25 kB / 1.112 GB, free: 8.684 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.7463, allocations: 4.531 kB / 1.112 GB, free: 8.684 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002361/0.7487, allocations: 0.8335 MB / 1.113 GB, free: 8.438 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.7487, allocations: 5 kB / 1.113 GB, free: 8.438 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.7487, allocations: 13.97 kB / 1.113 GB, free: 8.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009369/0.7497, allocations: 212.6 kB / 1.113 GB, free: 8.414 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/0.7497, allocations: 10.28 kB / 1.113 GB, free: 8.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/0.7509, allocations: 157.8 kB / 1.113 GB, free: 8.375 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.756e-05/0.751, allocations: 27.41 kB / 1.113 GB, free: 8.371 MB / 0.698 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.0005374/0.7515, allocations: 312.8 kB / 1.114 GB, free: 8.105 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002312/0.7517, allocations: 81.44 kB / 1.114 GB, free: 8.062 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002829/0.7546, allocations: 1.009 MB / 1.115 GB, free: 7.734 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.045e-05/0.7546, allocations: 8.266 kB / 1.115 GB, free: 7.734 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.7546, allocations: 0 / 1.115 GB, free: 7.734 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.892e-06/0.7546, allocations: 0 / 1.115 GB, free: 7.734 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004424/0.7591, allocations: 1.92 MB / 1.117 GB, free: 6.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.7591, allocations: 1.031 kB / 1.117 GB, free: 6.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008453/0.76, allocations: 180.4 kB / 1.117 GB, free: 6.824 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.089e-05/0.76, allocations: 2.875 kB / 1.117 GB, free: 6.824 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.366e-05/0.76, allocations: 12.3 kB / 1.117 GB, free: 6.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.76, allocations: 3 kB / 1.117 GB, free: 6.82 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.7601, allocations: 1.281 kB / 1.117 GB, free: 6.82 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003759/0.7638, allocations: 1.508 MB / 1.118 GB, free: 6.219 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004957/0.7643, allocations: 236.3 kB / 1.119 GB, free: 6.031 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002082/0.7645, allocations: 11.19 kB / 1.119 GB, free: 6.023 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009386/0.7655, allocations: 125.6 kB / 1.119 GB, free: 6.004 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.7656, allocations: 30.89 kB / 1.119 GB, free: 6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.858e-05/0.7657, allocations: 22 kB / 1.119 GB, free: 5.992 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009525/0.7666, allocations: 0.4957 MB / 1.119 GB, free: 5.773 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7666, allocations: 3.938 kB / 1.119 GB, free: 5.77 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001919/0.7686, allocations: 438.9 kB / 1.12 GB, free: 5.684 MB / 0.698 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.0008129/0.7694, allocations: 322.7 kB / 1.12 GB, free: 5.523 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003651/0.7731, allocations: 1.285 MB / 1.121 GB, free: 5.18 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.7731, allocations: 1.531 kB / 1.121 GB, free: 5.18 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00118/0.7743, allocations: 446.3 kB / 1.122 GB, free: 5.059 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002073/0.7763, allocations: 345.7 kB / 1.122 GB, free: 4.973 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006494/0.7829, allocations: 2.438 MB / 1.124 GB, free: 3.758 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005199/0.7834, allocations: 0.9674 MB / 1.125 GB, free: 3.043 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001182/0.7846, allocations: 219.3 kB / 1.125 GB, free: 2.969 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002654/0.7849, allocations: 76.47 kB / 1.126 GB, free: 2.957 MB / 0.698 GB Notification: Performance of SimCode: time 6.81e-07/0.7849, allocations: 0 / 1.126 GB, free: 2.957 MB / 0.698 GB Notification: Performance of Templates: time 0.03324/0.8181, allocations: 15.49 MB / 1.141 GB, free: 13.86 MB / 0.7136 GB make -j1 -f Buildings_latest_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.makefile (rm -f Buildings_latest_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe >> ../files/Buildings_latest_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.sim & ./Buildings_latest_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe 2>&1)