Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.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.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.683/1.683, allocations: 306.1 MB / 321.4 MB, free: 10.72 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.001124/0.001124, allocations: 175.5 kB / 393.1 MB, free: 4.051 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.31/1.31, allocations: 225.7 MB / 0.6743 GB, free: 12.6 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.0007932/0.0007932, allocations: 96.86 kB / 0.7935 GB, free: 40.05 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003658/0.0003658, allocations: 12 kB / 0.9225 GB, free: 8.637 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5347/0.5351, allocations: 121.3 MB / 1.041 GB, free: 58.46 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.001175/0.5363, allocations: 1.057 MB / 1.042 GB, free: 57.76 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.1251/0.6615, allocations: 136.8 MB / 1.175 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.814e-05/0.6615, allocations: 0 / 1.175 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.938e-05/0.6616, allocations: 3.328 kB / 1.175 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000142/0.6617, allocations: 45.19 kB / 1.176 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00096/0.6627, allocations: 322.8 kB / 1.176 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001725/0.6629, allocations: 183.8 kB / 1.176 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.658e-05/0.6629, allocations: 11.88 kB / 1.176 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.1e-05/0.663, allocations: 31.11 kB / 1.176 GB, free: 6.477 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.6631, allocations: 61.53 kB / 1.176 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.6631, allocations: 0 / 1.176 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007158/0.6638, allocations: 433.9 kB / 1.177 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.787e-05/0.6639, allocations: 26.31 kB / 1.177 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.382e-05/0.664, allocations: 52.67 kB / 1.177 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004369/0.6644, allocations: 291 kB / 1.177 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.6644, allocations: 4 kB / 1.177 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6644, allocations: 0 / 1.177 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.6644, allocations: 0 / 1.177 GB, free: 5.797 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0003571/0.6648, allocations: 389.9 kB / 1.177 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.6648, allocations: 8.031 kB / 1.177 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.736e-05/0.6649, allocations: 8.844 kB / 1.177 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.325e-05/0.665, allocations: 171.2 kB / 1.177 GB, free: 5.156 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.665, allocations: 4 kB / 1.177 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.665, allocations: 7.938 kB / 1.177 GB, free: 5.145 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.6652, allocations: 85.84 kB / 1.178 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.6652, allocations: 0 / 1.178 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.6652, allocations: 3.422 kB / 1.178 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.35e-05/0.6652, allocations: 23.94 kB / 1.178 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.6654, allocations: 73.59 kB / 1.178 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003997/0.6658, allocations: 340.4 kB / 1.178 GB, free: 4.625 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.6659, allocations: 102.5 kB / 1.178 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.993e-05/0.666, allocations: 47.72 kB / 1.178 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007733/0.6668, allocations: 488 kB / 1.179 GB, free: 3.945 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.6668, allocations: 30.56 kB / 1.179 GB, free: 3.906 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 1.293e-06/0.6668, allocations: 4 kB / 1.179 GB, free: 3.902 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0002335/0.6671, allocations: 129.7 kB / 1.179 GB, free: 3.781 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.6671, allocations: 55.41 kB / 1.179 GB, free: 3.715 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.125e-05/0.6672, allocations: 117.1 kB / 1.179 GB, free: 3.594 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.6672, allocations: 29.7 kB / 1.179 GB, free: 3.559 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.474e-05/0.6673, allocations: 95.38 kB / 1.179 GB, free: 3.465 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.744e-05/0.6673, allocations: 42.81 kB / 1.179 GB, free: 3.426 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.452e-06/0.6673, allocations: 4 kB / 1.179 GB, free: 3.422 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.771e-05/0.6674, allocations: 318.8 kB / 1.179 GB, free: 3.102 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.985e-05/0.6674, allocations: 33.84 kB / 1.179 GB, free: 3.074 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.107e-05/0.6675, allocations: 71.67 kB / 1.179 GB, free: 2.992 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.6677, allocations: 113.7 kB / 1.18 GB, free: 2.871 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.6677, allocations: 0 / 1.18 GB, free: 2.871 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001794/0.6678, allocations: 139.1 kB / 1.18 GB, free: 2.742 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.6679, allocations: 7.906 kB / 1.18 GB, free: 2.734 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.6679, allocations: 3.938 kB / 1.18 GB, free: 2.73 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.6679, allocations: 8.094 kB / 1.18 GB, free: 2.723 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.668, allocations: 31.12 kB / 1.18 GB, free: 2.695 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.668, allocations: 4 kB / 1.18 GB, free: 2.691 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.401e-05/0.6681, allocations: 11.94 kB / 1.18 GB, free: 2.68 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.6681, allocations: 7.516 kB / 1.18 GB, free: 2.676 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 16 * 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 7.679e-05/0.6682, allocations: 121.8 kB / 1.18 GB, free: 2.547 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.6682, allocations: 7.906 kB / 1.18 GB, free: 2.539 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002052/0.6684, allocations: 132.1 kB / 1.18 GB, free: 2.422 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.6684, allocations: 0 / 1.18 GB, free: 2.422 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.6684, allocations: 0 / 1.18 GB, free: 2.422 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.6684, allocations: 0 / 1.18 GB, free: 2.422 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002115/0.6686, allocations: 180.4 kB / 1.18 GB, free: 2.203 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.6687, allocations: 0 / 1.18 GB, free: 2.203 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.548e-05/0.6688, allocations: 23.22 kB / 1.18 GB, free: 2.184 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.6688, allocations: 0 / 1.18 GB, free: 2.184 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.6688, allocations: 7.938 kB / 1.18 GB, free: 2.176 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.6688, allocations: 3.234 kB / 1.18 GB, free: 2.176 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.6688, allocations: 8 kB / 1.18 GB, free: 2.168 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001981/0.669, allocations: 187.3 kB / 1.18 GB, free: 1.977 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.598e-05/0.6691, allocations: 96.38 kB / 1.18 GB, free: 1.867 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.526e-05/0.6691, allocations: 11.36 kB / 1.18 GB, free: 1.859 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.37e-05/0.6692, allocations: 0 / 1.18 GB, free: 1.859 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.896e-05/0.6693, allocations: 4 kB / 1.181 GB, free: 1.855 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.6693, allocations: 4 kB / 1.181 GB, free: 1.852 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.714e-05/0.6693, allocations: 98.73 kB / 1.181 GB, free: 1.758 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6693, allocations: 0 / 1.181 GB, free: 1.758 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005254/0.6699, allocations: 75.41 kB / 1.181 GB, free: 1.688 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.0003757/0.6703, allocations: 194 kB / 1.181 GB, free: 1.504 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001958/0.6705, allocations: 86.72 kB / 1.181 GB, free: 1.43 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.6705, allocations: 0 / 1.181 GB, free: 1.43 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.931e-05/0.6705, allocations: 38.55 kB / 1.181 GB, free: 1.398 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.6708, allocations: 19.66 kB / 1.181 GB, free: 1.383 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003839/0.6712, allocations: 208.6 kB / 1.181 GB, free: 1.168 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.6715, allocations: 0.6918 MB / 1.182 GB, free: 468 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001355/0.6716, allocations: 53.8 kB / 1.182 GB, free: 432 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.526e-05/0.6717, allocations: 11.44 kB / 1.182 GB, free: 420 kB / 0.7448 GB Notification: Performance of SimCode: time 2.5e-07/0.6717, allocations: 0 / 1.182 GB, free: 420 kB / 0.7448 GB Notification: Performance of Templates: time 0.004762/0.6764, allocations: 1.857 MB / 1.184 GB, free: 15.3 MB / 0.7605 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1)