Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower,fileNamePrefix="Buildings_8_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_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001754/0.001754, allocations: 187.7 kB / 16.62 MB, free: 6.613 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.362/1.362, allocations: 205.1 MB / 222.5 MB, free: 4.559 MB / 174.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.617/1.617, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.002572/0.002572, allocations: 79.44 kB / 0.6718 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2347, allocations: 114.5 MB / 0.7836 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.002745/0.2375, allocations: 1.279 MB / 0.7849 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001614/0.2392, allocations: 0.8949 MB / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.081e-05/0.2393, allocations: 0 / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001933/0.2395, allocations: 7.938 kB / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.3e-05/0.2395, allocations: 11.92 kB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008061/0.2403, allocations: 190.3 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.822e-05/0.2404, allocations: 12 kB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.782e-05/0.2405, allocations: 15.86 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.03e-05/0.2405, allocations: 7.938 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.151e-05/0.2406, allocations: 7.984 kB / 0.786 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.208e-05/0.2406, allocations: 0 / 0.786 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004968/0.2411, allocations: 239.7 kB / 0.7862 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.637e-05/0.2412, allocations: 19.92 kB / 0.7863 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.978e-05/0.2412, allocations: 19.86 kB / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004248/0.2416, allocations: 215.8 kB / 0.7865 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.2417, allocations: 3.984 kB / 0.7865 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.764e-06/0.2417, allocations: 0 / 0.7865 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.807e-06/0.2417, allocations: 0 / 0.7865 GB, free: 10.27 MB / 0.6075 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.0004213/0.2421, allocations: 375.3 kB / 0.7868 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.2422, allocations: 12.02 kB / 0.7869 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.622e-05/0.2422, allocations: 30.75 kB / 0.7869 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.179e-05/0.2422, allocations: 12.78 kB / 0.7869 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.2424, allocations: 172.2 kB / 0.7871 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.2424, allocations: 12.3 kB / 0.7871 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.2424, allocations: 3.938 kB / 0.7871 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.2425, allocations: 45.69 kB / 0.7871 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.2425, allocations: 0 / 0.7871 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.392e-06/0.2426, allocations: 0 / 0.7871 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.2426, allocations: 4 kB / 0.7871 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.378e-05/0.2426, allocations: 35.97 kB / 0.7872 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001827/0.2428, allocations: 173.7 kB / 0.7873 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.974e-05/0.2429, allocations: 62.44 kB / 0.7874 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.407e-05/0.2429, allocations: 24.91 kB / 0.7874 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.949e-05/0.243, allocations: 4 kB / 0.7874 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.243, allocations: 30.56 kB / 0.7874 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.243, allocations: 0 / 0.7874 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001712/0.2432, allocations: 85.58 kB / 0.7875 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.2432, allocations: 55.53 kB / 0.7876 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.2434, allocations: 140.1 kB / 0.7877 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.2434, allocations: 25.7 kB / 0.7877 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.734e-05/0.2435, allocations: 88.14 kB / 0.7878 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/0.2435, allocations: 7.844 kB / 0.7878 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.197e-05/0.2435, allocations: 25.7 kB / 0.7879 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.2437, allocations: 314.8 kB / 0.7882 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.451e-05/0.2438, allocations: 43.97 kB / 0.7882 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.263e-05/0.2438, allocations: 43.98 kB / 0.7882 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.2439, allocations: 96.81 kB / 0.7883 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2439, allocations: 0 / 0.7883 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001518/0.2441, allocations: 133.5 kB / 0.7885 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.2441, allocations: 11.94 kB / 0.7885 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.2441, allocations: 0 / 0.7885 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.2442, allocations: 0 / 0.7885 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.938e-05/0.2442, allocations: 7.938 kB / 0.7885 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.2442, allocations: 0 / 0.7885 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.972e-05/0.2443, allocations: 3.938 kB / 0.7885 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.2443, allocations: 4 kB / 0.7885 GB, free: 7.996 MB / 0.6075 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 9.333e-05/0.2444, allocations: 122.4 kB / 0.7886 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.08e-05/0.2444, allocations: 7.844 kB / 0.7886 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001373/0.2445, allocations: 77.2 kB / 0.7887 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.2445, allocations: 4 kB / 0.7887 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.2446, allocations: 0 / 0.7887 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.2446, allocations: 0 / 0.7887 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.2447, allocations: 177.6 kB / 0.7889 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.2447, allocations: 0 / 0.7889 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.096e-05/0.2448, allocations: 8.031 kB / 0.7889 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.2448, allocations: 0 / 0.7889 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.2448, allocations: 4 kB / 0.7889 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.2448, allocations: 3.938 kB / 0.7889 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2448, allocations: 0 / 0.7889 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.2449, allocations: 101 kB / 0.789 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.287e-05/0.245, allocations: 77.11 kB / 0.789 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.245, allocations: 32 / 0.789 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.21e-05/0.245, allocations: 8 kB / 0.789 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.398e-05/0.245, allocations: 0 / 0.789 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.245, allocations: 0 / 0.789 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.352e-05/0.2451, allocations: 107.2 kB / 0.7891 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2451, allocations: 0 / 0.7891 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000298/0.2454, allocations: 56 kB / 0.7892 GB, free: 7.152 MB / 0.6075 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.0006705/0.2461, allocations: 0.7021 MB / 0.7899 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001432/0.2462, allocations: 63.97 kB / 0.7899 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.2463, allocations: 0 / 0.7899 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.522e-05/0.2463, allocations: 23.98 kB / 0.79 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.2466, allocations: 28.08 kB / 0.79 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.2478, allocations: 1.538 MB / 0.7915 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002141/0.2481, allocations: 0.6846 MB / 0.7922 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.219e-05/0.2481, allocations: 12.2 kB / 0.7922 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.122e-05/0.2481, allocations: 15.44 kB / 0.7922 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2481, allocations: 4 kB / 0.7922 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01931/0.2675, allocations: 3.388 MB / 0.7955 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.651/7.919, allocations: 9.891 kB / 0.7955 GB, free: 0.7578 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe 2>&1)