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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.737/1.737, allocations: 292.6 MB / 307.5 MB, free: 5.219 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001218/0.001218, allocations: 177.1 kB / 377.1 MB, free: 1.52 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.768/1.768, allocations: 205.4 MB / 0.6366 GB, free: 9.43 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008861/0.0008861, allocations: 89.97 kB / 0.7509 GB, free: 62.87 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004491/0.0004492, allocations: 8 kB / 0.8749 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2837, allocations: 116.3 MB / 0.9884 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.363/5.646, allocations: 2.056 GB / 3.045 GB, free: 126.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003431/5.647, allocations: 102.5 kB / 3.045 GB, free: 126.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.05278/5.7, allocations: 28.3 MB / 3.072 GB, free: 99.67 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.192e-06/5.7, allocations: 0 / 3.072 GB, free: 99.67 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.173e-06/5.7, allocations: 8 kB / 3.072 GB, free: 99.66 MB / 0.948 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.0004123/5.7, allocations: 396.6 kB / 3.073 GB, free: 99.23 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/5.7, allocations: 16.58 kB / 3.073 GB, free: 99.21 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.267e-05/5.7, allocations: 34.55 kB / 3.073 GB, free: 99.17 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.604e-05/5.7, allocations: 7.953 kB / 3.073 GB, free: 99.16 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.244e-05/5.7, allocations: 163.1 kB / 3.073 GB, free: 98.96 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/5.7, allocations: 4 kB / 3.073 GB, free: 98.96 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/5.7, allocations: 0 / 3.073 GB, free: 98.96 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/5.7, allocations: 98.14 kB / 3.073 GB, free: 98.86 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/5.7, allocations: 4 kB / 3.073 GB, free: 98.85 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/5.7, allocations: 3.984 kB / 3.073 GB, free: 98.85 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.057e-05/5.701, allocations: 19.98 kB / 3.073 GB, free: 98.83 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/5.701, allocations: 75.91 kB / 3.073 GB, free: 98.75 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003684/5.701, allocations: 344.6 kB / 3.073 GB, free: 98.37 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/5.701, allocations: 105.2 kB / 3.074 GB, free: 98.26 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005481/5.702, allocations: 453.5 kB / 3.074 GB, free: 97.72 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/5.702, allocations: 38.52 kB / 3.074 GB, free: 97.68 MB / 0.948 GB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/5.702, allocations: 0.75 kB / 3.074 GB, free: 97.68 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0002325/5.702, allocations: 118.4 kB / 3.074 GB, free: 97.55 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/5.702, allocations: 55.34 kB / 3.074 GB, free: 97.49 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.109e-05/5.702, allocations: 109 kB / 3.074 GB, free: 97.38 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/5.702, allocations: 25.8 kB / 3.074 GB, free: 97.34 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.618e-05/5.702, allocations: 108.1 kB / 3.074 GB, free: 97.23 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/5.702, allocations: 35.55 kB / 3.074 GB, free: 97.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-06/5.702, allocations: 0 / 3.074 GB, free: 97.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.637e-05/5.702, allocations: 319.4 kB / 3.075 GB, free: 96.88 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.011e-05/5.702, allocations: 27.98 kB / 3.075 GB, free: 96.85 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.963e-05/5.702, allocations: 77.62 kB / 3.075 GB, free: 96.75 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.663e-05/5.702, allocations: 40.64 kB / 3.075 GB, free: 96.71 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/5.702, allocations: 0 / 3.075 GB, free: 96.71 MB / 0.948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001569/5.703, allocations: 138.6 kB / 3.075 GB, free: 96.57 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/5.703, allocations: 12.59 kB / 3.075 GB, free: 96.56 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/5.703, allocations: 3.953 kB / 3.075 GB, free: 96.56 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/5.703, allocations: 4 kB / 3.075 GB, free: 96.55 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.553e-05/5.703, allocations: 27.92 kB / 3.075 GB, free: 96.53 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/5.703, allocations: 4.781 kB / 3.075 GB, free: 96.52 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.423e-05/5.703, allocations: 16.14 kB / 3.075 GB, free: 96.51 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/5.703, allocations: 8.844 kB / 3.075 GB, free: 96.5 MB / 0.948 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 6.689e-05/5.703, allocations: 125.7 kB / 3.075 GB, free: 96.37 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/5.703, allocations: 11.91 kB / 3.075 GB, free: 96.36 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002036/5.703, allocations: 122.2 kB / 3.075 GB, free: 96.23 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/5.703, allocations: 3.953 kB / 3.075 GB, free: 96.23 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/5.703, allocations: 0 / 3.075 GB, free: 96.23 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/5.703, allocations: 0 / 3.075 GB, free: 96.23 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/5.703, allocations: 181.6 kB / 3.075 GB, free: 96 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/5.703, allocations: 0 / 3.075 GB, free: 96 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.64e-05/5.703, allocations: 20.58 kB / 3.076 GB, free: 95.98 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/5.703, allocations: 11.94 kB / 3.076 GB, free: 95.97 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/5.703, allocations: 0 / 3.076 GB, free: 95.97 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/5.703, allocations: 0 / 3.076 GB, free: 95.97 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/5.703, allocations: 3.953 kB / 3.076 GB, free: 95.97 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/5.704, allocations: 195.4 kB / 3.076 GB, free: 95.76 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.906e-05/5.704, allocations: 92.94 kB / 3.076 GB, free: 95.65 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/5.704, allocations: 8.75 kB / 3.076 GB, free: 95.64 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.989e-05/5.704, allocations: 0 / 3.076 GB, free: 95.64 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.816e-05/5.704, allocations: 15.94 kB / 3.076 GB, free: 95.63 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/5.704, allocations: 0 / 3.076 GB, free: 95.63 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.229e-05/5.704, allocations: 91.27 kB / 3.076 GB, free: 95.54 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.1e-07/5.704, allocations: 0 / 3.076 GB, free: 95.54 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0004427/5.704, allocations: 111.9 kB / 3.076 GB, free: 95.43 MB / 0.948 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.000947/5.705, allocations: 1.264 MB / 3.077 GB, free: 94.16 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001391/5.705, allocations: 87.83 kB / 3.077 GB, free: 94.07 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/5.705, allocations: 0 / 3.077 GB, free: 94.07 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.812e-05/5.705, allocations: 35.92 kB / 3.077 GB, free: 94.04 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001862/5.706, allocations: 21.64 kB / 3.077 GB, free: 94.02 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004773/5.706, allocations: 274.6 kB / 3.078 GB, free: 93.71 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001399/5.706, allocations: 0.6926 MB / 3.078 GB, free: 93 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001214/5.706, allocations: 53.75 kB / 3.078 GB, free: 92.95 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.639e-05/5.706, allocations: 23.36 kB / 3.078 GB, free: 92.92 MB / 0.948 GB Notification: Performance of SimCode: time 2.31e-07/5.706, allocations: 0 / 3.078 GB, free: 92.92 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02074/5.727, allocations: 11.8 MB / 3.09 GB, free: 81.36 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001621/5.727, allocations: 239.7 kB / 3.09 GB, free: 81.12 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.233/7.961, allocations: 0 / 3.09 GB, free: 81.12 MB / 0.948 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)