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.317/1.317, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.000888/0.0008881, allocations: 186.6 kB / 325.9 MB, free: 2.68 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.351/1.351, allocations: 205 MB / 0.576 GB, free: 20.96 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.0006678/0.0006678, allocations: 102 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002746/0.0002746, allocations: 11.64 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.16, allocations: 105.4 MB / 0.8962 GB, free: 68.03 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.00115/0.1612, allocations: 1.073 MB / 0.8973 GB, free: 66.95 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1213/0.2825, allocations: 145.6 MB / 1.039 GB, free: 0.7969 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.723e-05/0.2826, allocations: 0 / 1.039 GB, free: 0.7969 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 5.084e-05/0.2827, allocations: 7.984 kB / 1.039 GB, free: 0.7891 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001579/0.2828, allocations: 39.88 kB / 1.039 GB, free: 0.75 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009114/0.2837, allocations: 322.8 kB / 1.04 GB, free: 444 kB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.2839, allocations: 183.7 kB / 1.04 GB, free: 260 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 3.194e-05/0.2839, allocations: 4 kB / 1.04 GB, free: 256 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.198e-05/0.284, allocations: 35.83 kB / 1.04 GB, free: 220 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.2841, allocations: 59.94 kB / 1.04 GB, free: 160 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.2841, allocations: 0 / 1.04 GB, free: 160 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006149/0.2847, allocations: 435 kB / 1.04 GB, free: 15.73 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.541e-05/0.2848, allocations: 35.83 kB / 1.041 GB, free: 15.7 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.274e-05/0.2848, allocations: 23.88 kB / 1.041 GB, free: 15.67 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003661/0.2852, allocations: 283.4 kB / 1.041 GB, free: 15.39 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2852, allocations: 0 / 1.041 GB, free: 15.39 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.253e-06/0.2852, allocations: 3.938 kB / 1.041 GB, free: 15.39 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.286e-06/0.2852, allocations: 0 / 1.041 GB, free: 15.39 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.0003157/0.2856, allocations: 391.4 kB / 1.041 GB, free: 14.96 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.2856, allocations: 8.031 kB / 1.041 GB, free: 14.95 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.365e-05/0.2856, allocations: 42.72 kB / 1.041 GB, free: 14.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.543e-05/0.2857, allocations: 8.844 kB / 1.041 GB, free: 14.89 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.985e-05/0.2858, allocations: 168.1 kB / 1.041 GB, free: 14.69 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.2858, allocations: 4 kB / 1.041 GB, free: 14.69 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.2858, allocations: 4 kB / 1.041 GB, free: 14.68 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.2859, allocations: 93.59 kB / 1.042 GB, free: 14.59 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-06/0.286, allocations: 0 / 1.042 GB, free: 14.59 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.286, allocations: 0 / 1.042 GB, free: 14.59 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.902e-05/0.286, allocations: 15.98 kB / 1.042 GB, free: 14.57 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.2861, allocations: 79.89 kB / 1.042 GB, free: 14.49 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003613/0.2865, allocations: 344.6 kB / 1.042 GB, free: 14.11 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.2866, allocations: 106.6 kB / 1.042 GB, free: 13.99 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.976e-05/0.2867, allocations: 48.89 kB / 1.042 GB, free: 13.94 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007287/0.2874, allocations: 481.4 kB / 1.043 GB, free: 13.38 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.2875, allocations: 30.56 kB / 1.043 GB, free: 13.34 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.2875, allocations: 4 kB / 1.043 GB, free: 13.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0002183/0.2877, allocations: 129.4 kB / 1.043 GB, free: 13.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.2877, allocations: 51.41 kB / 1.043 GB, free: 13.14 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.583e-05/0.2878, allocations: 113.8 kB / 1.043 GB, free: 13.02 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.2878, allocations: 29.7 kB / 1.043 GB, free: 12.98 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.159e-05/0.2879, allocations: 96.27 kB / 1.043 GB, free: 12.89 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.559e-05/0.2879, allocations: 43.38 kB / 1.043 GB, free: 12.84 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.531e-05/0.2879, allocations: 21.7 kB / 1.043 GB, free: 12.82 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.352e-05/0.288, allocations: 318.8 kB / 1.043 GB, free: 12.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.731e-05/0.2881, allocations: 35.91 kB / 1.043 GB, free: 12.46 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.645e-05/0.2881, allocations: 71.39 kB / 1.043 GB, free: 12.38 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.2883, allocations: 113.5 kB / 1.044 GB, free: 12.25 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2883, allocations: 4 kB / 1.044 GB, free: 12.24 MB / 0.698 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001643/0.2885, allocations: 145.3 kB / 1.044 GB, free: 12.09 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.2885, allocations: 4 kB / 1.044 GB, free: 12.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2885, allocations: 3.938 kB / 1.044 GB, free: 12.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.2885, allocations: 11.92 kB / 1.044 GB, free: 12.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.067e-05/0.2886, allocations: 28.17 kB / 1.044 GB, free: 12.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.371e-06/0.2886, allocations: 4 kB / 1.044 GB, free: 12.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.628e-05/0.2887, allocations: 15.91 kB / 1.044 GB, free: 12.03 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.2887, allocations: 8.141 kB / 1.044 GB, free: 12.02 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.078e-05/0.2887, allocations: 129.7 kB / 1.044 GB, free: 11.88 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.511e-05/0.2888, allocations: 4 kB / 1.044 GB, free: 11.88 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001899/0.289, allocations: 125.9 kB / 1.044 GB, free: 11.75 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.289, allocations: 3.938 kB / 1.044 GB, free: 11.74 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.289, allocations: 4 kB / 1.044 GB, free: 11.74 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.289, allocations: 4 kB / 1.044 GB, free: 11.73 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.2892, allocations: 173.7 kB / 1.044 GB, free: 11.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.2892, allocations: 0 / 1.044 GB, free: 11.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.586e-05/0.2892, allocations: 19.94 kB / 1.044 GB, free: 11.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2892, allocations: 0 / 1.044 GB, free: 11.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.146e-06/0.2892, allocations: 3.984 kB / 1.044 GB, free: 11.49 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.2893, allocations: 7.938 kB / 1.044 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.2893, allocations: 0 / 1.044 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000146/0.2894, allocations: 195.6 kB / 1.044 GB, free: 11.28 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.669e-05/0.2895, allocations: 97.03 kB / 1.044 GB, free: 11.16 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.2895, allocations: 0 / 1.044 GB, free: 11.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.907e-05/0.2895, allocations: 3.938 kB / 1.045 GB, free: 11.16 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.646e-05/0.2896, allocations: 15.92 kB / 1.045 GB, free: 11.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.2896, allocations: 4 kB / 1.045 GB, free: 11.14 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.675e-05/0.2896, allocations: 83.28 kB / 1.045 GB, free: 11.06 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2896, allocations: 0 / 1.045 GB, free: 11.06 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002732/0.2899, allocations: 79.92 kB / 1.045 GB, free: 10.98 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005317/0.2904, allocations: 0.8137 MB / 1.045 GB, free: 10.14 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001352/0.2906, allocations: 84.2 kB / 1.046 GB, free: 10.06 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2906, allocations: 4 kB / 1.046 GB, free: 10.05 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.097e-05/0.2906, allocations: 35.92 kB / 1.046 GB, free: 10.02 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.2909, allocations: 19.92 kB / 1.046 GB, free: 10 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004541/0.2913, allocations: 260.7 kB / 1.046 GB, free: 9.703 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001941/0.2916, allocations: 0.6965 MB / 1.047 GB, free: 8.98 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001245/0.2917, allocations: 52.95 kB / 1.047 GB, free: 8.93 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.214e-05/0.2917, allocations: 27.44 kB / 1.047 GB, free: 8.906 MB / 0.698 GB Notification: Performance of SimCode: time 2.11e-07/0.2917, allocations: 3.938 kB / 1.047 GB, free: 8.902 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1181/0.4098, allocations: 2.966 MB / 1.05 GB, free: 6.172 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002175/0.41, allocations: 273.9 kB / 1.05 GB, free: 5.809 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.988/2.398, allocations: 0 / 1.05 GB, free: 5.809 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)