Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 80.52 kB / 19.96 MB, free: 4.586 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 169.2 kB / 23.24 MB, free: 1.309 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9107/0.9107, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.841/1.841, allocations: 389.6 MB / 0.6343 GB, free: 12.59 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,fileNamePrefix="Buildings_13_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,fileNamePrefix="Buildings_13_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 1.001 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.535e-05/1.683e-05, allocations: 2.281 kB / 1.001 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.001565/0.001582, allocations: 1.344 MB / 1.002 GB, free: 12.09 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.5426/0.5442, allocations: 129.9 MB / 1.129 GB, free: 2.738 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.832e-05/0.5443, allocations: 1.031 kB / 1.129 GB, free: 2.738 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 3.539e-05/0.5443, allocations: 2.203 kB / 1.129 GB, free: 2.738 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001632/0.5445, allocations: 46.47 kB / 1.129 GB, free: 2.723 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008879/0.5454, allocations: 370.1 kB / 1.129 GB, free: 2.559 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.5455, allocations: 63.62 kB / 1.129 GB, free: 2.543 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.719e-05/0.5455, allocations: 1.953 kB / 1.129 GB, free: 2.543 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.854e-05/0.5456, allocations: 42.89 kB / 1.129 GB, free: 2.531 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.5457, allocations: 53.91 kB / 1.129 GB, free: 2.523 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.5457, allocations: 2.188 kB / 1.129 GB, free: 2.523 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004802/0.5462, allocations: 373.8 kB / 1.13 GB, free: 2.402 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 5.405e-05/0.5462, allocations: 27 kB / 1.13 GB, free: 2.395 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 3.498e-05/0.5462, allocations: 30.8 kB / 1.13 GB, free: 2.383 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003907/0.5466, allocations: 294 kB / 1.13 GB, free: 2.301 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.5466, allocations: 0 / 1.13 GB, free: 2.301 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5466, allocations: 1.125 kB / 1.13 GB, free: 2.301 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.5466, allocations: 0 / 1.13 GB, free: 2.301 MB / 0.9948 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.0003059/0.547, allocations: 330 kB / 1.13 GB, free: 1.992 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.547, allocations: 11.03 kB / 1.13 GB, free: 1.992 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.053e-05/0.547, allocations: 38.77 kB / 1.13 GB, free: 1.949 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.917e-05/0.5471, allocations: 6.297 kB / 1.13 GB, free: 1.949 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.978e-05/0.5471, allocations: 109.6 kB / 1.131 GB, free: 1.82 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.5471, allocations: 9.125 kB / 1.131 GB, free: 1.812 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.928e-06/0.5471, allocations: 9.406 kB / 1.131 GB, free: 1.809 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.5473, allocations: 92.31 kB / 1.131 GB, free: 1.762 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.587e-06/0.5473, allocations: 0.5156 kB / 1.131 GB, free: 1.762 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.5473, allocations: 0 / 1.131 GB, free: 1.762 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.242e-05/0.5473, allocations: 12.27 kB / 1.131 GB, free: 1.762 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.5474, allocations: 78.64 kB / 1.131 GB, free: 1.746 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003101/0.5477, allocations: 310.8 kB / 1.131 GB, free: 1.477 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.5479, allocations: 97.45 kB / 1.131 GB, free: 1.434 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.091e-05/0.5479, allocations: 47.08 kB / 1.131 GB, free: 1.418 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004496/0.5484, allocations: 95.38 kB / 1.131 GB, free: 1.402 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.419e-05/0.5484, allocations: 36.91 kB / 1.131 GB, free: 1.359 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.5484, allocations: 0 / 1.131 GB, free: 1.359 MB / 0.9948 GB Notification: Performance of matching and sorting (n=11): time 0.0001987/0.5486, allocations: 113.4 kB / 1.131 GB, free: 1.312 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.875e-05/0.5486, allocations: 61.44 kB / 1.131 GB, free: 1.242 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.522e-05/0.5487, allocations: 123.4 kB / 1.132 GB, free: 1.133 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 5.811e-06/0.5487, allocations: 25.7 kB / 1.132 GB, free: 1.102 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 2.136e-05/0.5487, allocations: 101 kB / 1.132 GB, free: 1.004 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.5487, allocations: 43.02 kB / 1.132 GB, free: 0.9688 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-05/0.5487, allocations: 35.81 kB / 1.132 GB, free: 0.9414 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.789e-05/0.5488, allocations: 315.4 kB / 1.132 GB, free: 0.6289 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.867e-05/0.5488, allocations: 33 kB / 1.132 GB, free: 0.6211 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.244e-05/0.5489, allocations: 81.23 kB / 1.132 GB, free: 0.5586 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.291e-05/0.549, allocations: 112.8 kB / 1.132 GB, free: 500 kB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.549, allocations: 0.75 kB / 1.132 GB, free: 500 kB / 0.9948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001303/0.5491, allocations: 134.6 kB / 1.132 GB, free: 440 kB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.5491, allocations: 5.438 kB / 1.132 GB, free: 440 kB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.5491, allocations: 2.375 kB / 1.132 GB, free: 440 kB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.5491, allocations: 2.531 kB / 1.132 GB, free: 440 kB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.441e-05/0.5492, allocations: 32.75 kB / 1.132 GB, free: 432 kB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.5492, allocations: 5.609 kB / 1.132 GB, free: 432 kB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.874e-05/0.5492, allocations: 20 kB / 1.133 GB, free: 416 kB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-06/0.5492, allocations: 9.75 kB / 1.133 GB, free: 412 kB / 0.9948 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 4.249e-05/0.5493, allocations: 123.7 kB / 1.133 GB, free: 288 kB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.594e-05/0.5493, allocations: 7.719 kB / 1.133 GB, free: 284 kB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000152/0.5494, allocations: 127.4 kB / 1.133 GB, free: 220 kB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.5494, allocations: 1.25 kB / 1.133 GB, free: 220 kB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.5494, allocations: 5.281 kB / 1.133 GB, free: 216 kB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.5495, allocations: 0.7969 kB / 1.133 GB, free: 216 kB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.285e-05/0.5495, allocations: 148.5 kB / 1.133 GB, free: 48 kB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.5495, allocations: 5.375 kB / 1.133 GB, free: 44 kB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.397e-05/0.5496, allocations: 20.89 kB / 1.133 GB, free: 40 kB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.5496, allocations: 0 / 1.133 GB, free: 40 kB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.5496, allocations: 5.578 kB / 1.133 GB, free: 36 kB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.5496, allocations: 1.188 kB / 1.133 GB, free: 36 kB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.5496, allocations: 4.594 kB / 1.133 GB, free: 32 kB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/0.5497, allocations: 189.7 kB / 1.133 GB, free: 15.89 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 2.398e-05/0.5497, allocations: 18.22 kB / 1.133 GB, free: 15.88 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.5498, allocations: 0 / 1.133 GB, free: 15.88 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.206e-05/0.5498, allocations: 5.641 kB / 1.133 GB, free: 15.88 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.031e-05/0.5498, allocations: 14.67 kB / 1.133 GB, free: 15.87 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-06/0.5498, allocations: 4.359 kB / 1.133 GB, free: 15.87 MB / 1.01 GB Notification: Performance of sorting global known variables: time 3.315e-05/0.5498, allocations: 93.67 kB / 1.133 GB, free: 15.79 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.5498, allocations: 0 / 1.133 GB, free: 15.79 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002351/0.5501, allocations: 80.16 kB / 1.133 GB, free: 15.76 MB / 1.01 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.0004921/0.5506, allocations: 0.8233 MB / 1.134 GB, free: 15.05 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0001258/0.5507, allocations: 86.66 kB / 1.134 GB, free: 15.03 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.5507, allocations: 1.062 kB / 1.134 GB, free: 15.03 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 3.306e-05/0.5507, allocations: 35.55 kB / 1.134 GB, free: 15.02 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001899/0.5509, allocations: 19.98 kB / 1.134 GB, free: 15.01 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004145/0.5513, allocations: 235 kB / 1.134 GB, free: 14.84 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.264e-05/0.5514, allocations: 77.83 kB / 1.135 GB, free: 14.76 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 8.051e-05/0.5515, allocations: 55.11 kB / 1.135 GB, free: 14.75 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.138e-05/0.5515, allocations: 24.33 kB / 1.135 GB, free: 14.74 MB / 1.01 GB Notification: Performance of SimCode: time 5.71e-07/0.5515, allocations: 4 kB / 1.135 GB, free: 14.74 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07584/0.6273, allocations: 3.905 MB / 1.138 GB, free: 13.73 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.523/8.15, allocations: 10.7 kB / 1.138 GB, free: 13.73 MB / 1.01 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_13_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_13_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity_fmu --startTime=10 --stopTime=20 --stepSize=0.004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.fmu) > Buildings_13_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_fmpy_res.csv --start-time 10 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ../Buildings_13_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.fmu) > Buildings_13_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.710046742111444]