Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,fileNamePrefix="Buildings_8_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_8_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001513/0.001517, allocations: 105.4 kB / 15.69 MB, free: 140 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002236/0.002236, allocations: 193.3 kB / 16.62 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.436/1.436, allocations: 205.1 MB / 222.5 MB, free: 4.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.653/1.653, allocations: 292.3 MB / 0.549 GB, free: 12.77 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 71.66 kB / 0.6718 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.2175, allocations: 114.6 MB / 0.7837 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.00243/0.2199, allocations: 1.327 MB / 0.785 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6225/0.8425, allocations: 147.9 MB / 0.9294 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.804e-05/0.8426, allocations: 0 / 0.9294 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.849e-05/0.8427, allocations: 10.27 kB / 0.9294 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001695/0.8429, allocations: 39.89 kB / 0.9294 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.844, allocations: 361.9 kB / 0.9298 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.8441, allocations: 59.48 kB / 0.9298 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.983e-05/0.8442, allocations: 11.25 kB / 0.9298 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.641e-05/0.8442, allocations: 31.95 kB / 0.9298 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.8443, allocations: 52.45 kB / 0.9299 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.8443, allocations: 3 kB / 0.9299 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007506/0.8451, allocations: 408.6 kB / 0.9303 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.187e-05/0.8452, allocations: 25.17 kB / 0.9303 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.832e-05/0.8452, allocations: 33.88 kB / 0.9303 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004506/0.8457, allocations: 275.4 kB / 0.9306 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.8457, allocations: 0 / 0.9306 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8457, allocations: 0 / 0.9306 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.8457, allocations: 0 / 0.9306 GB, free: 3.008 MB / 0.7169 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.0005342/0.8463, allocations: 401.1 kB / 0.931 GB, free: 18.62 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.8463, allocations: 8.859 kB / 0.931 GB, free: 18.62 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.476e-05/0.8464, allocations: 36.89 kB / 0.931 GB, free: 18.58 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.923e-05/0.8464, allocations: 1.828 kB / 0.931 GB, free: 18.58 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.8465, allocations: 175.4 kB / 0.9312 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.8465, allocations: 6.625 kB / 0.9312 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.8466, allocations: 2.625 kB / 0.9312 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.8467, allocations: 93.06 kB / 0.9313 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.8467, allocations: 1.203 kB / 0.9313 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.8468, allocations: 6.562 kB / 0.9313 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.937e-05/0.8468, allocations: 9.516 kB / 0.9313 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.8469, allocations: 81.02 kB / 0.9314 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004047/0.8473, allocations: 338.6 kB / 0.9317 GB, free: 18.06 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.8475, allocations: 102.9 kB / 0.9318 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.557e-05/0.8476, allocations: 52.17 kB / 0.9319 GB, free: 18.03 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008508/0.8484, allocations: 470 kB / 0.9323 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.8484, allocations: 37.19 kB / 0.9324 GB, free: 17.52 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.943e-06/0.8485, allocations: 1.188 kB / 0.9324 GB, free: 17.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0002442/0.8487, allocations: 126.4 kB / 0.9325 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.8487, allocations: 54.69 kB / 0.9325 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.987e-05/0.8488, allocations: 118.6 kB / 0.9326 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.8489, allocations: 29.08 kB / 0.9327 GB, free: 17.28 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.92e-05/0.8489, allocations: 93.55 kB / 0.9328 GB, free: 17.19 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.8489, allocations: 39.69 kB / 0.9328 GB, free: 17.16 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.849, allocations: 40.62 kB / 0.9328 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.223e-05/0.8491, allocations: 319.9 kB / 0.9331 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.647e-05/0.8491, allocations: 27.33 kB / 0.9332 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.885e-05/0.8492, allocations: 75.66 kB / 0.9332 GB, free: 16.78 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/0.8493, allocations: 115.5 kB / 0.9333 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.8493, allocations: 2.625 kB / 0.9333 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001762/0.8495, allocations: 133.4 kB / 0.9335 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.8495, allocations: 6.016 kB / 0.9335 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.8496, allocations: 6.625 kB / 0.9335 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.8496, allocations: 5.281 kB / 0.9335 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.8497, allocations: 29.3 kB / 0.9335 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.8497, allocations: 6.594 kB / 0.9335 GB, free: 16.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.568e-05/0.8497, allocations: 16.02 kB / 0.9335 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.8498, allocations: 5.312 kB / 0.9335 GB, free: 16.66 MB / 0.7325 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.921e-05/0.8498, allocations: 119.1 kB / 0.9337 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.874e-05/0.8499, allocations: 12.41 kB / 0.9337 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002211/0.8501, allocations: 130.2 kB / 0.9338 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.8501, allocations: 1.156 kB / 0.9338 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.8501, allocations: 0 / 0.9338 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.8501, allocations: 2.984 kB / 0.9338 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.8503, allocations: 188.3 kB / 0.934 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.8503, allocations: 0 / 0.934 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.135e-05/0.8504, allocations: 16.3 kB / 0.934 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.8504, allocations: 2.812 kB / 0.934 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.8504, allocations: 4.781 kB / 0.934 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.8504, allocations: 4 kB / 0.934 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.8504, allocations: 0 / 0.934 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001752/0.8506, allocations: 201.9 kB / 0.9342 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.554e-05/0.8507, allocations: 97.19 kB / 0.9343 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.8507, allocations: 3.938 kB / 0.9343 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.302e-05/0.8508, allocations: 5.891 kB / 0.9343 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.292e-05/0.8508, allocations: 7.297 kB / 0.9343 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.545e-06/0.8508, allocations: 2.75 kB / 0.9343 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.398e-05/0.8508, allocations: 93.08 kB / 0.9344 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8509, allocations: 2.562 kB / 0.9344 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003645/0.8512, allocations: 74.98 kB / 0.9345 GB, free: 15.95 MB / 0.7325 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.0006059/0.8518, allocations: 0.8196 MB / 0.9353 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001593/0.852, allocations: 89.41 kB / 0.9354 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.852, allocations: 1.812 kB / 0.9354 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.025e-05/0.8521, allocations: 35.67 kB / 0.9354 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.8523, allocations: 19.89 kB / 0.9354 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004754/0.8528, allocations: 249.5 kB / 0.9357 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000213/0.853, allocations: 0.6901 MB / 0.9363 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001131/0.8532, allocations: 54.77 kB / 0.9364 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.602e-05/0.8532, allocations: 25.11 kB / 0.9364 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.8532, allocations: 0 / 0.9364 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01862/0.8718, allocations: 3.18 MB / 0.9395 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.638/8.51, allocations: 8.281 kB / 0.9395 GB, free: 13.9 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.csv --start-time 10 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1)