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.0008043/0.0008043, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009153/0.0009153, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.414/1.414, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.706/1.706, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0005122/0.0005122, allocations: 14.31 kB / 0.6739 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2529, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.001473/0.2545, allocations: 1.048 MB / 0.7885 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6877/0.9422, allocations: 134.3 MB / 0.9196 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.674e-05/0.9423, allocations: 1.781 kB / 0.9196 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.512e-05/0.9424, allocations: 4.656 kB / 0.9196 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002131/0.9426, allocations: 42.56 kB / 0.9196 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.9437, allocations: 257.8 kB / 0.9199 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00021/0.944, allocations: 140 kB / 0.92 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.067e-05/0.944, allocations: 6.641 kB / 0.92 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.617e-05/0.9441, allocations: 33.36 kB / 0.92 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001561/0.9442, allocations: 57.11 kB / 0.9201 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.9443, allocations: 2.562 kB / 0.9201 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007838/0.945, allocations: 303.6 kB / 0.9204 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.768e-05/0.9451, allocations: 27.69 kB / 0.9204 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.696e-05/0.9452, allocations: 32.58 kB / 0.9204 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003776/0.9456, allocations: 174.9 kB / 0.9206 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.9456, allocations: 0 / 0.9206 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.763e-06/0.9456, allocations: 4 kB / 0.9206 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.9456, allocations: 0.7812 kB / 0.9206 GB, free: 5.703 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.0007544/0.9464, allocations: 396.3 kB / 0.921 GB, free: 21.31 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.9464, allocations: 9 kB / 0.921 GB, free: 21.31 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.861e-05/0.9465, allocations: 38.11 kB / 0.921 GB, free: 21.27 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.866e-05/0.9465, allocations: 11 kB / 0.921 GB, free: 21.27 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.9466, allocations: 162 kB / 0.9212 GB, free: 21.07 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.9466, allocations: 0.9062 kB / 0.9212 GB, free: 21.07 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.9466, allocations: 5.469 kB / 0.9212 GB, free: 21.07 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00022/0.9469, allocations: 105.7 kB / 0.9213 GB, free: 21.03 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.9469, allocations: 1.281 kB / 0.9213 GB, free: 21.03 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.9469, allocations: 0 / 0.9213 GB, free: 21.03 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-05/0.9469, allocations: 12.25 kB / 0.9213 GB, free: 21.03 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001408/0.9471, allocations: 78.16 kB / 0.9214 GB, free: 21.03 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004605/0.9475, allocations: 338.1 kB / 0.9217 GB, free: 20.76 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.9477, allocations: 102.6 kB / 0.9218 GB, free: 20.74 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.265e-05/0.9478, allocations: 58.52 kB / 0.9219 GB, free: 20.73 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008165/0.9486, allocations: 481.8 kB / 0.9223 GB, free: 20.25 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.9487, allocations: 36.52 kB / 0.9224 GB, free: 20.21 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.302e-06/0.9487, allocations: 0 / 0.9224 GB, free: 20.21 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0002813/0.949, allocations: 132 kB / 0.9225 GB, free: 20.17 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.949, allocations: 52.16 kB / 0.9225 GB, free: 20.11 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.173e-05/0.9491, allocations: 115.9 kB / 0.9227 GB, free: 20.01 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.9491, allocations: 29.64 kB / 0.9227 GB, free: 19.98 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.989e-05/0.9492, allocations: 96.83 kB / 0.9228 GB, free: 19.88 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.835e-05/0.9492, allocations: 42.59 kB / 0.9228 GB, free: 19.86 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.11e-06/0.9492, allocations: 0 / 0.9228 GB, free: 19.86 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.9493, allocations: 317.7 kB / 0.9231 GB, free: 19.54 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.714e-05/0.9494, allocations: 34.33 kB / 0.9231 GB, free: 19.54 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.639e-05/0.9495, allocations: 69.62 kB / 0.9232 GB, free: 19.5 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.543e-05/0.9495, allocations: 46.23 kB / 0.9233 GB, free: 19.49 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.9495, allocations: 0 / 0.9233 GB, free: 19.49 MB / 0.7325 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001811/0.9497, allocations: 138.3 kB / 0.9234 GB, free: 19.46 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.9498, allocations: 5.312 kB / 0.9234 GB, free: 19.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.9498, allocations: 1.297 kB / 0.9234 GB, free: 19.46 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.9498, allocations: 6.547 kB / 0.9234 GB, free: 19.45 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.987e-05/0.9499, allocations: 33.69 kB / 0.9234 GB, free: 19.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.9499, allocations: 0.6562 kB / 0.9234 GB, free: 19.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.576e-05/0.95, allocations: 16.75 kB / 0.9235 GB, free: 19.44 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.886e-06/0.95, allocations: 5.797 kB / 0.9235 GB, free: 19.44 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.242e-05/0.9501, allocations: 121.6 kB / 0.9236 GB, free: 19.33 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.712e-05/0.9501, allocations: 10.88 kB / 0.9236 GB, free: 19.32 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002275/0.9503, allocations: 126.8 kB / 0.9237 GB, free: 19.27 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.9503, allocations: 7.234 kB / 0.9237 GB, free: 19.27 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.9503, allocations: 0 / 0.9237 GB, free: 19.27 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.9504, allocations: 0.6562 kB / 0.9237 GB, free: 19.27 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.9505, allocations: 177.5 kB / 0.9239 GB, free: 19.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.9505, allocations: 0 / 0.9239 GB, free: 19.08 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.158e-05/0.9506, allocations: 19.58 kB / 0.9239 GB, free: 19.08 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.9506, allocations: 3.609 kB / 0.9239 GB, free: 19.08 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.9506, allocations: 3.75 kB / 0.9239 GB, free: 19.08 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.9506, allocations: 0.6562 kB / 0.9239 GB, free: 19.08 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.9506, allocations: 7.953 kB / 0.9239 GB, free: 19.07 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001614/0.9508, allocations: 199.8 kB / 0.9241 GB, free: 18.94 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.961e-05/0.9509, allocations: 97.53 kB / 0.9242 GB, free: 18.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.9509, allocations: 0 / 0.9242 GB, free: 18.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.138e-05/0.951, allocations: 4.469 kB / 0.9242 GB, free: 18.84 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.024e-05/0.951, allocations: 5.594 kB / 0.9242 GB, free: 18.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-06/0.951, allocations: 8.406 kB / 0.9242 GB, free: 18.84 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.738e-05/0.951, allocations: 89.89 kB / 0.9243 GB, free: 18.76 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9511, allocations: 7.938 kB / 0.9243 GB, free: 18.75 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003346/0.9514, allocations: 69.83 kB / 0.9244 GB, free: 18.74 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 (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.000652/0.9521, allocations: 0.816 MB / 0.9252 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001564/0.9522, allocations: 81.62 kB / 0.9253 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.9522, allocations: 0 / 0.9253 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.757e-05/0.9523, allocations: 40.91 kB / 0.9253 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.9526, allocations: 16.48 kB / 0.9253 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005095/0.9531, allocations: 268.3 kB / 0.9256 GB, free: 17.88 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000264/0.9533, allocations: 0.6905 MB / 0.9262 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001372/0.9535, allocations: 54.34 kB / 0.9263 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.448e-05/0.9535, allocations: 17.73 kB / 0.9263 GB, free: 17.17 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.9535, allocations: 2.75 kB / 0.9263 GB, free: 17.17 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01343/0.967, allocations: 2.943 MB / 0.9292 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002333/0.9672, allocations: 244.2 kB / 0.9294 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.829/2.797, allocations: 0 / 0.9294 GB, free: 16.64 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity_fmu --startTime=10 --stopTime=20 --timeout=50 --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) Environment - environmentSimulation: