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.508/1.508, allocations: 252 MB / 267 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009914/0.0009913, allocations: 178.3 kB / 326.6 MB, free: 2.18 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.562/1.562, allocations: 205.4 MB / 0.5777 GB, free: 20.25 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.0007882/0.0007882, allocations: 86.25 kB / 0.6822 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.00035/0.0003503, allocations: 12.47 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2062, allocations: 106.4 MB / 0.9003 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.001367/0.2076, allocations: 1.045 MB / 0.9014 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1423/0.3499, allocations: 134.3 MB / 1.032 GB, free: 7.996 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.51e-05/0.35, allocations: 0 / 1.032 GB, free: 7.996 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 3.654e-05/0.3501, allocations: 0 / 1.032 GB, free: 7.996 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001988/0.3503, allocations: 55.84 kB / 1.033 GB, free: 7.941 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.3514, allocations: 250.9 kB / 1.033 GB, free: 7.695 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0001855/0.3516, allocations: 139.7 kB / 1.033 GB, free: 7.559 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.688e-05/0.3516, allocations: 0 / 1.033 GB, free: 7.559 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.064e-05/0.3517, allocations: 35.91 kB / 1.033 GB, free: 7.523 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.3519, allocations: 55.88 kB / 1.033 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.3519, allocations: 4 kB / 1.033 GB, free: 7.465 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007895/0.3527, allocations: 303.4 kB / 1.033 GB, free: 7.168 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 6.469e-05/0.3528, allocations: 35.89 kB / 1.033 GB, free: 7.133 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 3.639e-05/0.3528, allocations: 29.7 kB / 1.033 GB, free: 7.098 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0004333/0.3532, allocations: 171.9 kB / 1.034 GB, free: 6.93 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.3533, allocations: 0 / 1.034 GB, free: 6.93 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3533, allocations: 0 / 1.034 GB, free: 6.93 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.3533, allocations: 0 / 1.034 GB, free: 6.93 MB / 0.6823 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.0004826/0.3538, allocations: 391.2 kB / 1.034 GB, free: 6.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.3538, allocations: 8.031 kB / 1.034 GB, free: 6.492 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.062e-05/0.3539, allocations: 50.44 kB / 1.034 GB, free: 6.434 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.985e-05/0.3539, allocations: 3.906 kB / 1.034 GB, free: 6.43 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.3541, allocations: 167 kB / 1.034 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.3541, allocations: 0 / 1.034 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.3542, allocations: 4 kB / 1.034 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002107/0.3544, allocations: 93.64 kB / 1.034 GB, free: 6.125 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.3544, allocations: 0 / 1.034 GB, free: 6.125 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.735e-05/0.3544, allocations: 8 kB / 1.034 GB, free: 6.117 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-05/0.3545, allocations: 19.88 kB / 1.034 GB, free: 6.098 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001534/0.3546, allocations: 79.95 kB / 1.034 GB, free: 6.02 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005115/0.3551, allocations: 332.7 kB / 1.035 GB, free: 5.645 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.3553, allocations: 114.3 kB / 1.035 GB, free: 5.523 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.809e-05/0.3554, allocations: 52.94 kB / 1.035 GB, free: 5.469 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009358/0.3564, allocations: 485.4 kB / 1.035 GB, free: 4.902 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.3564, allocations: 42.56 kB / 1.035 GB, free: 4.852 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/0.3564, allocations: 0 / 1.035 GB, free: 4.852 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.0002691/0.3567, allocations: 121.5 kB / 1.035 GB, free: 4.727 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/0.3568, allocations: 51.41 kB / 1.035 GB, free: 4.664 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.3569, allocations: 109.8 kB / 1.036 GB, free: 4.547 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.3569, allocations: 29.7 kB / 1.036 GB, free: 4.512 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.356e-05/0.357, allocations: 92.19 kB / 1.036 GB, free: 4.418 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.477e-05/0.357, allocations: 43.53 kB / 1.036 GB, free: 4.375 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-06/0.357, allocations: 0 / 1.036 GB, free: 4.375 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.3572, allocations: 326.8 kB / 1.036 GB, free: 4.047 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.752e-05/0.3572, allocations: 31.92 kB / 1.036 GB, free: 4.016 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.704e-05/0.3573, allocations: 70.67 kB / 1.036 GB, free: 3.93 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.67e-05/0.3574, allocations: 43.98 kB / 1.036 GB, free: 3.887 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.3574, allocations: 0 / 1.036 GB, free: 3.887 MB / 0.6823 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000215/0.3576, allocations: 145.3 kB / 1.036 GB, free: 3.738 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.3577, allocations: 4 kB / 1.036 GB, free: 3.734 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3577, allocations: 0 / 1.036 GB, free: 3.734 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.3577, allocations: 4 kB / 1.036 GB, free: 3.73 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.3578, allocations: 27.92 kB / 1.036 GB, free: 3.703 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.3578, allocations: 4 kB / 1.036 GB, free: 3.699 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.353e-05/0.3579, allocations: 20 kB / 1.036 GB, free: 3.68 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.3579, allocations: 4.25 kB / 1.036 GB, free: 3.676 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001163/0.358, allocations: 121.8 kB / 1.036 GB, free: 3.547 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.165e-05/0.3581, allocations: 11.89 kB / 1.037 GB, free: 3.535 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002307/0.3583, allocations: 122.4 kB / 1.037 GB, free: 3.406 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.3583, allocations: 4 kB / 1.037 GB, free: 3.402 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.3584, allocations: 4 kB / 1.037 GB, free: 3.398 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.555e-06/0.3584, allocations: 11.97 kB / 1.037 GB, free: 3.387 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001929/0.3586, allocations: 177.6 kB / 1.037 GB, free: 3.164 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.3586, allocations: 3.938 kB / 1.037 GB, free: 3.16 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.524e-05/0.3586, allocations: 19.98 kB / 1.037 GB, free: 3.141 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.3587, allocations: 0 / 1.037 GB, free: 3.141 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.3587, allocations: 3.953 kB / 1.037 GB, free: 3.137 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.3587, allocations: 3.938 kB / 1.037 GB, free: 3.133 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3587, allocations: 4 kB / 1.037 GB, free: 3.129 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001932/0.3589, allocations: 199.4 kB / 1.037 GB, free: 2.918 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.858e-05/0.359, allocations: 93 kB / 1.037 GB, free: 2.809 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.359, allocations: 3.938 kB / 1.037 GB, free: 2.805 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.514e-05/0.359, allocations: 7.953 kB / 1.037 GB, free: 2.797 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.662e-05/0.3591, allocations: 4 kB / 1.037 GB, free: 2.793 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.3591, allocations: 7.984 kB / 1.037 GB, free: 2.785 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.938e-05/0.3591, allocations: 87.28 kB / 1.037 GB, free: 2.699 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3591, allocations: 0 / 1.037 GB, free: 2.699 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003514/0.3595, allocations: 71.92 kB / 1.037 GB, free: 2.629 MB / 0.6823 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 (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.0007382/0.3602, allocations: 0.806 MB / 1.038 GB, free: 1.797 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001653/0.3604, allocations: 87.84 kB / 1.038 GB, free: 1.711 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.3604, allocations: 0 / 1.038 GB, free: 1.711 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.807e-05/0.3605, allocations: 36.47 kB / 1.038 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.3608, allocations: 25.97 kB / 1.038 GB, free: 1.652 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006188/0.3614, allocations: 265.2 kB / 1.038 GB, free: 1.352 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.3617, allocations: 0.6926 MB / 1.039 GB, free: 0.6328 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001504/0.3619, allocations: 56.3 kB / 1.039 GB, free: 0.5742 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.687e-05/0.3619, allocations: 19.44 kB / 1.039 GB, free: 0.5586 MB / 0.6823 GB Notification: Performance of SimCode: time 5.61e-07/0.3619, allocations: 0 / 1.039 GB, free: 0.5586 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01476/0.3767, allocations: 2.955 MB / 1.042 GB, free: 13.84 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002313/0.377, allocations: 252.6 kB / 1.042 GB, free: 13.51 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.617/1.994, allocations: 0 / 1.042 GB, free: 13.51 MB / 0.698 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)