Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.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.Characteristics.Validation.NormalizedPower,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower",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.368/1.368, allocations: 252 MB / 267.3 MB, free: 10.85 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.0009505/0.0009502, allocations: 169.4 kB / 327 MB, free: 2.086 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.55/1.55, allocations: 205.4 MB / 0.578 GB, free: 20.08 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.0007979/0.0007978, allocations: 82.31 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003207/0.0003208, allocations: 12.55 kB / 0.7971 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1805, allocations: 106.3 MB / 0.9009 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.00148/0.182, allocations: 1.006 MB / 0.9019 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001206/0.1832, allocations: 0.9172 MB / 0.9028 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.054e-05/0.1833, allocations: 0 / 0.9028 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001538/0.1834, allocations: 11.92 kB / 0.9028 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.539e-05/0.1835, allocations: 4 kB / 0.9028 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004903/0.184, allocations: 138 kB / 0.903 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.327e-05/0.184, allocations: 15.92 kB / 0.903 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.349e-05/0.1841, allocations: 8 kB / 0.903 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.038e-05/0.1841, allocations: 8 kB / 0.903 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.931e-05/0.1841, allocations: 15.91 kB / 0.903 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.165e-06/0.1841, allocations: 0 / 0.903 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003464/0.1845, allocations: 227.7 kB / 0.9032 GB, free: 61 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.028e-05/0.1845, allocations: 11.98 kB / 0.9032 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.692e-05/0.1846, allocations: 41.58 kB / 0.9033 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003144/0.1849, allocations: 219.7 kB / 0.9035 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.1849, allocations: 0 / 0.9035 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1849, allocations: 4 kB / 0.9035 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.1849, allocations: 4 kB / 0.9035 GB, free: 60.72 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002686/0.1852, allocations: 369.7 kB / 0.9039 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.1852, allocations: 8.031 kB / 0.9039 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.441e-05/0.1853, allocations: 34.69 kB / 0.9039 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.055e-05/0.1853, allocations: 8.844 kB / 0.9039 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.329e-05/0.1854, allocations: 180.2 kB / 0.9041 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-06/0.1854, allocations: 384 / 0.9041 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.552e-06/0.1854, allocations: 384 / 0.9041 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.564e-05/0.1855, allocations: 53.81 kB / 0.9041 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.091e-06/0.1855, allocations: 0 / 0.9041 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.681e-06/0.1855, allocations: 0 / 0.9041 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1855, allocations: 4 kB / 0.9041 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.828e-05/0.1856, allocations: 27.98 kB / 0.9042 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001206/0.1857, allocations: 177.7 kB / 0.9043 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.111e-05/0.1858, allocations: 50.5 kB / 0.9044 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.508e-05/0.1858, allocations: 28.91 kB / 0.9044 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.676e-05/0.1858, allocations: 11.94 kB / 0.9044 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.347e-05/0.1858, allocations: 34.5 kB / 0.9044 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1859, allocations: 0 / 0.9044 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001312/0.186, allocations: 85.58 kB / 0.9045 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.764e-05/0.186, allocations: 51.41 kB / 0.9046 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.899e-05/0.1861, allocations: 139.3 kB / 0.9047 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.294e-06/0.1861, allocations: 25.7 kB / 0.9047 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.868e-05/0.1862, allocations: 104.2 kB / 0.9048 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.21e-05/0.1862, allocations: 3.906 kB / 0.9048 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-06/0.1862, allocations: 0 / 0.9048 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4e-05/0.1862, allocations: 322.8 kB / 0.9051 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.855e-05/0.1863, allocations: 39.98 kB / 0.9052 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.008e-05/0.1863, allocations: 39.98 kB / 0.9052 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.417e-05/0.1864, allocations: 100.8 kB / 0.9053 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1864, allocations: 0 / 0.9053 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001092/0.1865, allocations: 129.5 kB / 0.9054 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.1865, allocations: 8 kB / 0.9054 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.1865, allocations: 0 / 0.9054 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.1866, allocations: 4 kB / 0.9055 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.847e-05/0.1866, allocations: 3.938 kB / 0.9055 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.1866, allocations: 0 / 0.9055 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.908e-05/0.1866, allocations: 4 kB / 0.9055 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.1867, allocations: 3.984 kB / 0.9055 GB, free: 58.48 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 2 * Array equations: 1 * 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 4.971e-05/0.1867, allocations: 113.8 kB / 0.9056 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.929e-06/0.1867, allocations: 11.84 kB / 0.9056 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.179e-05/0.1868, allocations: 73.2 kB / 0.9057 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1868, allocations: 0 / 0.9057 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.1868, allocations: 0 / 0.9057 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.1868, allocations: 0 / 0.9057 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.627e-05/0.1869, allocations: 181.6 kB / 0.9058 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1869, allocations: 0 / 0.9058 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.928e-05/0.1869, allocations: 7.938 kB / 0.9058 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.187, allocations: 3.938 kB / 0.9058 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.438e-06/0.187, allocations: 0 / 0.9058 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.187, allocations: 0 / 0.9058 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.187, allocations: 4.031 kB / 0.9058 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.72e-05/0.187, allocations: 96.95 kB / 0.9059 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.603e-05/0.1871, allocations: 85.05 kB / 0.906 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.086e-05/0.1871, allocations: 96 / 0.906 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.182e-05/0.1871, allocations: 0 / 0.906 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.718e-06/0.1871, allocations: 3.984 kB / 0.906 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-06/0.1871, allocations: 4 kB / 0.906 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.193e-05/0.1872, allocations: 118.3 kB / 0.9061 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1872, allocations: 0 / 0.9061 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000272/0.1875, allocations: 63.98 kB / 0.9062 GB, free: 57.63 MB / 0.6042 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 (2): * Single equations (assignments): 2 * 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.0004361/0.1879, allocations: 0.6943 MB / 0.9069 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001009/0.188, allocations: 67.97 kB / 0.9069 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.188, allocations: 0 / 0.9069 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.756e-05/0.188, allocations: 19.98 kB / 0.907 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.1883, allocations: 32.56 kB / 0.907 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009351/0.1892, allocations: 1.526 MB / 0.9085 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001062/0.1894, allocations: 0.6887 MB / 0.9092 GB, free: 54.47 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.173e-05/0.1894, allocations: 7.938 kB / 0.9092 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.696e-05/0.1894, allocations: 15.44 kB / 0.9092 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.1894, allocations: 4 kB / 0.9092 GB, free: 54.44 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01161/0.2011, allocations: 3.156 MB / 0.9123 GB, free: 51.54 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001491/0.2012, allocations: 277 kB / 0.9125 GB, free: 51.17 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.669/1.871, allocations: 0 / 0.9125 GB, free: 51.17 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe 2>&1)