Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.608/2.608, allocations: 287.5 MB / 302.4 MB, free: 8.305 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.001346/0.001346, allocations: 183 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.074/2.074, allocations: 205.4 MB / 0.6297 GB, free: 10.63 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009095/0.0009093, allocations: 96.86 kB / 0.743 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004962/0.0005151, allocations: 12.17 kB / 0.8659 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2249, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.001477/0.2265, allocations: 1.041 MB / 0.9795 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8842/1.111, allocations: 134.3 MB / 1.111 GB, free: 2.004 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.571e-05/1.111, allocations: 0 / 1.111 GB, free: 2.004 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 4.265e-05/1.111, allocations: 4.203 kB / 1.111 GB, free: 2.004 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.000189/1.111, allocations: 44.48 kB / 1.111 GB, free: 1.996 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001134/1.112, allocations: 261.3 kB / 1.111 GB, free: 1.949 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0002298/1.112, allocations: 138.1 kB / 1.111 GB, free: 1.941 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.766e-05/1.112, allocations: 3.016 kB / 1.111 GB, free: 1.941 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.388e-05/1.113, allocations: 34.41 kB / 1.111 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001547/1.113, allocations: 55.25 kB / 1.111 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/1.113, allocations: 2 kB / 1.111 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001026/1.114, allocations: 305.8 kB / 1.111 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 6.405e-05/1.114, allocations: 28.81 kB / 1.111 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001121/1.114, allocations: 35.48 kB / 1.111 GB, free: 17.87 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000795/1.115, allocations: 174.4 kB / 1.112 GB, free: 17.85 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/1.115, allocations: 0.6562 kB / 1.112 GB, free: 17.85 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.425e-06/1.115, allocations: 0 / 1.112 GB, free: 17.85 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.563e-06/1.115, allocations: 4 kB / 1.112 GB, free: 17.84 MB / 0.698 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.0007101/1.116, allocations: 391.8 kB / 1.112 GB, free: 17.46 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.106e-05/1.116, allocations: 13.8 kB / 1.112 GB, free: 17.45 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.164e-05/1.116, allocations: 34.86 kB / 1.112 GB, free: 17.41 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.453e-05/1.116, allocations: 6.656 kB / 1.112 GB, free: 17.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/1.116, allocations: 168 kB / 1.112 GB, free: 17.21 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/1.116, allocations: 7.797 kB / 1.112 GB, free: 17.21 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.783e-05/1.116, allocations: 2.812 kB / 1.112 GB, free: 17.21 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004223/1.117, allocations: 98.34 kB / 1.112 GB, free: 17.18 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/1.117, allocations: 5.094 kB / 1.112 GB, free: 17.17 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.124e-05/1.117, allocations: 0 / 1.112 GB, free: 17.17 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.288e-05/1.117, allocations: 12.36 kB / 1.112 GB, free: 17.17 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001626/1.118, allocations: 79.67 kB / 1.112 GB, free: 17.17 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009773/1.119, allocations: 331.9 kB / 1.113 GB, free: 16.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003938/1.12, allocations: 107.3 kB / 1.113 GB, free: 16.87 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/1.12, allocations: 49.33 kB / 1.113 GB, free: 16.86 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001961/1.122, allocations: 486.8 kB / 1.113 GB, free: 16.39 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.362e-05/1.122, allocations: 44.38 kB / 1.113 GB, free: 16.34 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 4.849e-06/1.122, allocations: 0 / 1.113 GB, free: 16.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0009176/1.123, allocations: 126.4 kB / 1.114 GB, free: 16.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/1.123, allocations: 53.12 kB / 1.114 GB, free: 16.24 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002675/1.124, allocations: 116 kB / 1.114 GB, free: 16.14 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.7e-05/1.124, allocations: 32.11 kB / 1.114 GB, free: 16.11 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/1.124, allocations: 95.34 kB / 1.114 GB, free: 16.01 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.291e-05/1.124, allocations: 39.97 kB / 1.114 GB, free: 15.99 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.241e-05/1.124, allocations: 4 kB / 1.114 GB, free: 15.98 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002003/1.124, allocations: 318 kB / 1.114 GB, free: 15.67 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/1.124, allocations: 31.77 kB / 1.114 GB, free: 15.67 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002516/1.125, allocations: 70.23 kB / 1.114 GB, free: 15.62 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/1.125, allocations: 49.95 kB / 1.114 GB, free: 15.62 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/1.125, allocations: 0 / 1.114 GB, free: 15.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005369/1.125, allocations: 139.3 kB / 1.114 GB, free: 15.57 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.221e-05/1.125, allocations: 10.55 kB / 1.114 GB, free: 15.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/1.125, allocations: 1.156 kB / 1.114 GB, free: 15.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.514e-05/1.125, allocations: 4.047 kB / 1.114 GB, free: 15.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002632/1.126, allocations: 26.36 kB / 1.114 GB, free: 15.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.564e-05/1.126, allocations: 6.75 kB / 1.114 GB, free: 15.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/1.126, allocations: 14.81 kB / 1.115 GB, free: 15.56 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.812e-05/1.126, allocations: 4.656 kB / 1.115 GB, free: 15.56 MB / 0.698 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.0001823/1.126, allocations: 124.1 kB / 1.115 GB, free: 15.44 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.617e-05/1.126, allocations: 7.047 kB / 1.115 GB, free: 15.44 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001139/1.127, allocations: 131.5 kB / 1.115 GB, free: 15.39 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.747e-05/1.128, allocations: 5.031 kB / 1.115 GB, free: 15.39 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/1.128, allocations: 0 / 1.115 GB, free: 15.39 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/1.128, allocations: 1.641 kB / 1.115 GB, free: 15.39 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004163/1.128, allocations: 176.4 kB / 1.115 GB, free: 15.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/1.128, allocations: 0 / 1.115 GB, free: 15.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000142/1.128, allocations: 20.33 kB / 1.115 GB, free: 15.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/1.128, allocations: 1.219 kB / 1.115 GB, free: 15.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/1.128, allocations: 6.797 kB / 1.115 GB, free: 15.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/1.128, allocations: 3.953 kB / 1.115 GB, free: 15.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/1.128, allocations: 1.766 kB / 1.115 GB, free: 15.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003115/1.129, allocations: 203 kB / 1.115 GB, free: 15.05 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.572e-05/1.129, allocations: 94.17 kB / 1.115 GB, free: 14.95 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.578e-05/1.129, allocations: 4.672 kB / 1.115 GB, free: 14.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.967e-05/1.129, allocations: 1.031 kB / 1.115 GB, free: 14.95 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.581e-05/1.129, allocations: 14.2 kB / 1.115 GB, free: 14.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/1.129, allocations: 6.281 kB / 1.115 GB, free: 14.95 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.915e-05/1.129, allocations: 85.39 kB / 1.115 GB, free: 14.87 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.9e-07/1.129, allocations: 0 / 1.115 GB, free: 14.87 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005732/1.13, allocations: 83.55 kB / 1.115 GB, free: 14.85 MB / 0.698 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.0009535/1.131, allocations: 0.8018 MB / 1.116 GB, free: 14.18 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002742/1.131, allocations: 82.48 kB / 1.116 GB, free: 14.18 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.131, allocations: 0 / 1.116 GB, free: 14.18 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.01e-05/1.131, allocations: 38.45 kB / 1.116 GB, free: 14.18 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009423/1.132, allocations: 22.28 kB / 1.116 GB, free: 14.17 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/1.133, allocations: 268.2 kB / 1.117 GB, free: 13.97 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005137/1.134, allocations: 0.6889 MB / 1.117 GB, free: 13.28 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004397/1.134, allocations: 53.81 kB / 1.117 GB, free: 13.27 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.036e-05/1.135, allocations: 23.06 kB / 1.117 GB, free: 13.26 MB / 0.698 GB Notification: Performance of SimCode: time 1.413e-06/1.135, allocations: 0 / 1.117 GB, free: 13.26 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03004/1.165, allocations: 2.959 MB / 1.12 GB, free: 12.99 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003133/1.165, allocations: 250 kB / 1.12 GB, free: 12.66 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.498/3.663, allocations: 1.859 kB / 1.12 GB, free: 12.66 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity_fmu --startTime=10 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1)