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: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001684/0.001684, allocations: 108.2 kB / 16.37 MB, free: 5.996 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.001795/0.001795, allocations: 191.4 kB / 17.31 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.515/1.515, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.879/1.879, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.001428/0.001428, allocations: 68.11 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2314, allocations: 114.6 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002544/0.2339, allocations: 1.334 MB / 0.7861 GB, free: 1.812 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.6065/0.8405, allocations: 147.9 MB / 0.9305 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.929e-05/0.8406, allocations: 1.125 kB / 0.9305 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.669e-05/0.8407, allocations: 0 / 0.9305 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001992/0.8409, allocations: 45.42 kB / 0.9306 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001296/0.8422, allocations: 358.2 kB / 0.9309 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.8424, allocations: 69.48 kB / 0.931 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.29e-05/0.8424, allocations: 2.812 kB / 0.931 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.333e-05/0.8425, allocations: 34.33 kB / 0.931 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001389/0.8426, allocations: 53.12 kB / 0.9311 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.8426, allocations: 6.078 kB / 0.9311 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007702/0.8434, allocations: 410.3 kB / 0.9315 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.676e-05/0.8435, allocations: 27.95 kB / 0.9315 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.61e-05/0.8436, allocations: 31.86 kB / 0.9315 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004708/0.844, allocations: 273.4 kB / 0.9318 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.8441, allocations: 0 / 0.9318 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8441, allocations: 0 / 0.9318 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.279e-06/0.8441, allocations: 2.062 kB / 0.9318 GB, free: 3.582 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.0004665/0.8446, allocations: 398.8 kB / 0.9322 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.8446, allocations: 8.031 kB / 0.9322 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.232e-05/0.8446, allocations: 16.84 kB / 0.9322 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.8448, allocations: 167.9 kB / 0.9323 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.338e-06/0.8448, allocations: 3.938 kB / 0.9323 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.8448, allocations: 4 kB / 0.9323 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.845, allocations: 94.72 kB / 0.9324 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.845, allocations: 0 / 0.9324 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.845, allocations: 4 kB / 0.9324 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.925e-05/0.8451, allocations: 8 kB / 0.9324 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001268/0.8452, allocations: 75.95 kB / 0.9325 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004595/0.8457, allocations: 348.7 kB / 0.9329 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.8458, allocations: 98.48 kB / 0.9329 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.892e-05/0.8459, allocations: 48.89 kB / 0.933 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000814/0.8468, allocations: 469.4 kB / 0.9334 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.8468, allocations: 34.56 kB / 0.9335 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.573e-06/0.8468, allocations: 0 / 0.9335 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0002717/0.8471, allocations: 133 kB / 0.9336 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.8471, allocations: 51.41 kB / 0.9337 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.195e-05/0.8472, allocations: 117.8 kB / 0.9338 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.8472, allocations: 29.7 kB / 0.9338 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.129e-05/0.8473, allocations: 96.17 kB / 0.9339 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.185e-05/0.8473, allocations: 47.38 kB / 0.9339 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.286e-05/0.8474, allocations: 29.72 kB / 0.934 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.8475, allocations: 322.8 kB / 0.9343 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.695e-05/0.8476, allocations: 27.98 kB / 0.9343 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.248e-05/0.8476, allocations: 69.12 kB / 0.9344 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.8478, allocations: 118.7 kB / 0.9345 GB, free: 496 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.8478, allocations: 4 kB / 0.9345 GB, free: 492 kB / 0.7169 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001809/0.848, allocations: 137.5 kB / 0.9346 GB, free: 348 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.848, allocations: 11.94 kB / 0.9346 GB, free: 336 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.848, allocations: 0 / 0.9346 GB, free: 336 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.848, allocations: 7.938 kB / 0.9346 GB, free: 328 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.8481, allocations: 27.97 kB / 0.9347 GB, free: 300 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.8482, allocations: 6.812 kB / 0.9347 GB, free: 296 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.235e-05/0.8482, allocations: 12.88 kB / 0.9347 GB, free: 284 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.8482, allocations: 4 kB / 0.9347 GB, free: 280 kB / 0.7169 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 8.893e-05/0.8483, allocations: 125.8 kB / 0.9348 GB, free: 144 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.821e-05/0.8484, allocations: 11.97 kB / 0.9348 GB, free: 132 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002135/0.8486, allocations: 126.2 kB / 0.9349 GB, free: 4 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.8486, allocations: 0 / 0.9349 GB, free: 4 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.8486, allocations: 0 / 0.9349 GB, free: 4 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.8486, allocations: 0 / 0.9349 GB, free: 4 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001939/0.8488, allocations: 181.6 kB / 0.9351 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.8488, allocations: 0 / 0.9351 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.929e-05/0.8489, allocations: 25.05 kB / 0.9351 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.8489, allocations: 4 kB / 0.9351 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.8489, allocations: 3.938 kB / 0.9351 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.8489, allocations: 0 / 0.9351 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.8489, allocations: 4 kB / 0.9351 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001673/0.8491, allocations: 195.4 kB / 0.9353 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.244e-05/0.8492, allocations: 97 kB / 0.9354 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.8492, allocations: 3.938 kB / 0.9354 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.275e-05/0.8492, allocations: 4 kB / 0.9354 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.105e-05/0.8493, allocations: 11.94 kB / 0.9354 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-06/0.8493, allocations: 4 kB / 0.9354 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.382e-05/0.8493, allocations: 92.14 kB / 0.9355 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8494, allocations: 0.6562 kB / 0.9355 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003519/0.8497, allocations: 75.92 kB / 0.9356 GB, free: 15.23 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 (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.0003375/0.8501, allocations: 183.1 kB / 0.9358 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001716/0.8502, allocations: 88.59 kB / 0.9359 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.8503, allocations: 0 / 0.9359 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.903e-05/0.8503, allocations: 40.58 kB / 0.9359 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/0.8506, allocations: 16.95 kB / 0.9359 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003669/0.8509, allocations: 206.8 kB / 0.9361 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.8512, allocations: 0.6923 MB / 0.9368 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.061e-05/0.8512, allocations: 19.44 kB / 0.9368 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of SimCode: time 2.01e-07/0.8512, allocations: 0 / 0.9368 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of Templates: time 0.003446/0.8547, allocations: 1.848 MB / 0.9386 GB, free: 12.12 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.makefile (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 & ./Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1)