Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.572/1.572, allocations: 249.3 MB / 261.8 MB, free: 5.93 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001468/0.001468, allocations: 176.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.844/1.844, allocations: 205.2 MB / 0.572 GB, free: 10.7 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001007/0.001007, allocations: 98.42 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.471e-05/3.499e-05, allocations: 4 kB / 0.7881 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2679, allocations: 106.3 MB / 0.8919 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.711/6.979, allocations: 2.173 GB / 3.065 GB, free: 156.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003477/6.979, allocations: 97.88 kB / 3.065 GB, free: 156.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.05503/7.034, allocations: 27.92 MB / 3.092 GB, free: 132.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.242e-06/7.034, allocations: 0 / 3.092 GB, free: 132.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.554e-06/7.034, allocations: 4 kB / 3.092 GB, free: 132.8 MB / 0.8698 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.0004524/7.035, allocations: 389.3 kB / 3.093 GB, free: 132.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/7.035, allocations: 12.03 kB / 3.093 GB, free: 132.4 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.878e-05/7.035, allocations: 50.39 kB / 3.093 GB, free: 132.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.32e-05/7.035, allocations: 3.906 kB / 3.093 GB, free: 132.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/7.035, allocations: 167 kB / 3.093 GB, free: 132.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/7.035, allocations: 7.609 kB / 3.093 GB, free: 132.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/7.035, allocations: 4 kB / 3.093 GB, free: 132.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/7.035, allocations: 93.17 kB / 3.093 GB, free: 132 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/7.035, allocations: 0 / 3.093 GB, free: 132 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/7.035, allocations: 0 / 3.093 GB, free: 132 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.283e-05/7.035, allocations: 19.88 kB / 3.093 GB, free: 132 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000129/7.035, allocations: 78.09 kB / 3.093 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004416/7.036, allocations: 333.3 kB / 3.094 GB, free: 131.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/7.036, allocations: 100.8 kB / 3.094 GB, free: 131.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.705e-05/7.036, allocations: 55.44 kB / 3.094 GB, free: 131.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006016/7.037, allocations: 460.8 kB / 3.094 GB, free: 130.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/7.037, allocations: 34 kB / 3.094 GB, free: 130.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=11): time 1.272e-06/7.037, allocations: 0 / 3.094 GB, free: 130.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.0002402/7.037, allocations: 100.7 kB / 3.094 GB, free: 130.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/7.037, allocations: 51.41 kB / 3.094 GB, free: 130.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.872e-05/7.037, allocations: 104.7 kB / 3.094 GB, free: 130.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/7.037, allocations: 25.7 kB / 3.094 GB, free: 130.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.049e-05/7.037, allocations: 107.6 kB / 3.095 GB, free: 130.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/7.037, allocations: 35.14 kB / 3.095 GB, free: 130.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-06/7.037, allocations: 3.25 kB / 3.095 GB, free: 130.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.796e-05/7.037, allocations: 318.7 kB / 3.095 GB, free: 130.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.391e-05/7.037, allocations: 27.55 kB / 3.095 GB, free: 130.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.053e-05/7.037, allocations: 77.59 kB / 3.095 GB, free: 130 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.21e-05/7.037, allocations: 41.38 kB / 3.095 GB, free: 130 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/7.037, allocations: 4 kB / 3.095 GB, free: 130 MB / 0.8698 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001695/7.038, allocations: 144.2 kB / 3.095 GB, free: 129.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/7.038, allocations: 6.031 kB / 3.095 GB, free: 129.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/7.038, allocations: 160 / 3.095 GB, free: 129.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/7.038, allocations: 8 kB / 3.095 GB, free: 129.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.743e-05/7.038, allocations: 27.92 kB / 3.095 GB, free: 129.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/7.038, allocations: 4 kB / 3.095 GB, free: 129.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.19e-05/7.038, allocations: 11.78 kB / 3.095 GB, free: 129.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/7.038, allocations: 8 kB / 3.095 GB, free: 129.8 MB / 0.8698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.734e-05/7.038, allocations: 112.6 kB / 3.095 GB, free: 129.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.86e-05/7.038, allocations: 7.953 kB / 3.095 GB, free: 129.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000205/7.038, allocations: 132.2 kB / 3.095 GB, free: 129.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/7.038, allocations: 0 / 3.095 GB, free: 129.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/7.038, allocations: 7.875 kB / 3.095 GB, free: 129.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/7.038, allocations: 0 / 3.095 GB, free: 129.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/7.038, allocations: 180.9 kB / 3.096 GB, free: 129.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/7.038, allocations: 0 / 3.096 GB, free: 129.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.886e-05/7.038, allocations: 16 kB / 3.096 GB, free: 129.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/7.038, allocations: 0 / 3.096 GB, free: 129.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/7.038, allocations: 7.578 kB / 3.096 GB, free: 129.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/7.038, allocations: 7.984 kB / 3.096 GB, free: 129.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/7.038, allocations: 4 kB / 3.096 GB, free: 129.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001429/7.039, allocations: 193.9 kB / 3.096 GB, free: 129.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.402e-05/7.039, allocations: 92.94 kB / 3.096 GB, free: 129 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/7.039, allocations: 0 / 3.096 GB, free: 129 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.358e-05/7.039, allocations: 11.77 kB / 3.096 GB, free: 129 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.789e-05/7.039, allocations: 3.984 kB / 3.096 GB, free: 129 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/7.039, allocations: 7.984 kB / 3.096 GB, free: 129 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.01e-05/7.039, allocations: 95.09 kB / 3.096 GB, free: 128.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/7.039, allocations: 0 / 3.096 GB, free: 128.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004954/7.039, allocations: 117.8 kB / 3.096 GB, free: 128.8 MB / 0.8698 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 () * 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 (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.0009608/7.04, allocations: 1.247 MB / 3.097 GB, free: 127.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001561/7.04, allocations: 82.42 kB / 3.097 GB, free: 127.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/7.04, allocations: 0 / 3.097 GB, free: 127.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.6e-05/7.041, allocations: 43.48 kB / 3.098 GB, free: 127.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001885/7.041, allocations: 15.88 kB / 3.098 GB, free: 127.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004129/7.041, allocations: 195.3 kB / 3.098 GB, free: 127.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001313/7.041, allocations: 0.6926 MB / 3.098 GB, free: 126.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001167/7.041, allocations: 53.52 kB / 3.098 GB, free: 126.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.777e-05/7.041, allocations: 20.23 kB / 3.098 GB, free: 126.4 MB / 0.8698 GB Notification: Performance of SimCode: time 2.51e-07/7.041, allocations: 0 / 3.098 GB, free: 126.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0248/7.066, allocations: 13.56 MB / 3.112 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001684/7.066, allocations: 218.8 kB / 3.112 GB, free: 112.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.266/9.333, allocations: 4 kB / 3.112 GB, free: 112.8 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity_fmu --startTime=10 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1)