Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.666/1.666, allocations: 288.4 MB / 303.3 MB, free: 8.211 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.0009826/0.0009826, allocations: 172.5 kB / 372 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.521/1.521, allocations: 205.4 MB / 0.6307 GB, free: 9.953 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.000724/0.0007241, allocations: 98.3 kB / 0.744 GB, free: 5.875 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004187/0.0004189, allocations: 11.19 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2558, allocations: 115.3 MB / 0.9796 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.06467/0.3205, allocations: 69.43 MB / 1.047 GB, free: 5.926 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.01889/0.3395, allocations: 11.85 MB / 1.059 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003195/0.3427, allocations: 51.62 kB / 1.059 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002646/0.3454, allocations: 0.5705 MB / 1.06 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.007263/0.3527, allocations: 1.875 MB / 1.061 GB, free: 7.551 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003892/0.3566, allocations: 0.9817 MB / 1.062 GB, free: 6.582 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.007409/0.364, allocations: 4.758 MB / 1.067 GB, free: 1.812 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002344/0.3664, allocations: 1.002 MB / 1.068 GB, free: 0.7812 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5678/0.9342, allocations: 1.259 MB / 1.069 GB, free: 34.3 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003242/0.9375, allocations: 1.064 MB / 1.07 GB, free: 34.3 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004498/0.938, allocations: 55.94 kB / 1.07 GB, free: 34.3 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003462/0.9415, allocations: 0.9385 MB / 1.071 GB, free: 34.3 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000522/0.942, allocations: 271 kB / 1.072 GB, free: 34.3 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0009634/0.943, allocations: 360.7 kB / 1.072 GB, free: 34.27 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004348/0.9474, allocations: 2.088 MB / 1.074 GB, free: 34.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.453e-06/0.9474, allocations: 0 / 1.074 GB, free: 34.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.616e-06/0.9474, allocations: 0.9062 kB / 1.074 GB, free: 34.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.823e-05/0.9475, allocations: 3 kB / 1.074 GB, free: 34.2 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.004809/0.9523, allocations: 1.796 MB / 1.076 GB, free: 33.23 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.833e-05/0.9524, allocations: 9.062 kB / 1.076 GB, free: 33.23 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002993/0.9527, allocations: 151.2 kB / 1.076 GB, free: 33.19 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000972/0.9536, allocations: 240.7 kB / 1.076 GB, free: 33.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003086/0.9567, allocations: 1.431 MB / 1.077 GB, free: 32.75 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.81e-05/0.9568, allocations: 77.72 kB / 1.078 GB, free: 32.75 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001955/0.957, allocations: 103.7 kB / 1.078 GB, free: 32.75 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002617/0.9597, allocations: 1.117 MB / 1.079 GB, free: 32.61 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.925e-05/0.9597, allocations: 0.75 kB / 1.079 GB, free: 32.61 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/0.9598, allocations: 41.14 kB / 1.079 GB, free: 32.61 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.816e-05/0.9599, allocations: 25 kB / 1.079 GB, free: 32.61 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002415/0.9623, allocations: 0.9267 MB / 1.08 GB, free: 32.6 MB / 0.6823 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008032/0.9703, allocations: 4.925 MB / 1.084 GB, free: 30.43 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001619/0.972, allocations: 0.6418 MB / 1.085 GB, free: 30.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008359/0.9728, allocations: 373.1 kB / 1.085 GB, free: 30.39 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005229/0.9734, allocations: 0.8341 MB / 1.086 GB, free: 29.44 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.9734, allocations: 39.16 kB / 1.086 GB, free: 29.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=62): time 3.176e-06/0.9734, allocations: 0 / 1.086 GB, free: 29.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=62): time 0.007884/0.9813, allocations: 1.89 MB / 1.088 GB, free: 29.12 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.9814, allocations: 61.94 kB / 1.088 GB, free: 29.06 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002154/0.9836, allocations: 1.191 MB / 1.089 GB, free: 28.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002164/0.9838, allocations: 40.27 kB / 1.089 GB, free: 28.87 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005116/0.9843, allocations: 0.6044 MB / 1.09 GB, free: 28.66 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002799/0.9846, allocations: 220.7 kB / 1.09 GB, free: 28.52 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.126e-05/0.9846, allocations: 15.59 kB / 1.09 GB, free: 28.52 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.72e-05/0.9847, allocations: 335.2 kB / 1.091 GB, free: 28.21 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007722/0.9855, allocations: 294.4 kB / 1.091 GB, free: 28.21 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008714/0.9864, allocations: 0.4959 MB / 1.091 GB, free: 28.01 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007879/0.9872, allocations: 357.2 kB / 1.092 GB, free: 28 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.9872, allocations: 5.188 kB / 1.092 GB, free: 27.99 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005188/0.9924, allocations: 1.405 MB / 1.093 GB, free: 27.84 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001317/0.9926, allocations: 191.4 kB / 1.093 GB, free: 27.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.9926, allocations: 3.562 kB / 1.093 GB, free: 27.63 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008017/0.9934, allocations: 172.5 kB / 1.093 GB, free: 27.61 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007643/0.9942, allocations: 161.5 kB / 1.094 GB, free: 27.61 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008399/0.995, allocations: 0.7285 MB / 1.094 GB, free: 27.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001919/0.997, allocations: 172.5 kB / 1.094 GB, free: 27.04 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/0.9971, allocations: 34.78 kB / 1.094 GB, free: 27.03 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.9971, allocations: 4.125 kB / 1.094 GB, free: 27.03 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005002/1.002, allocations: 1.25 MB / 1.096 GB, free: 26.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.249e-05/1.002, allocations: 4.031 kB / 1.096 GB, free: 26.98 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008559/1.003, allocations: 171.9 kB / 1.096 GB, free: 26.96 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007497/1.004, allocations: 166.5 kB / 1.096 GB, free: 26.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009135/1.005, allocations: 0.7293 MB / 1.097 GB, free: 26.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001985/1.007, allocations: 166 kB / 1.097 GB, free: 26.39 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/1.007, allocations: 33.36 kB / 1.097 GB, free: 26.39 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.001071/1.008, allocations: 420.7 kB / 1.097 GB, free: 26.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004471/1.008, allocations: 131.4 kB / 1.097 GB, free: 26.13 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00567/1.014, allocations: 1.41 MB / 1.099 GB, free: 26 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.734e-05/1.014, allocations: 7.828 kB / 1.099 GB, free: 26 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.541e-05/1.014, allocations: 0 / 1.099 GB, free: 26 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005283/1.019, allocations: 1.245 MB / 1.1 GB, free: 25.79 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008491/1.028, allocations: 2.748 MB / 1.103 GB, free: 25.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/1.028, allocations: 7.156 kB / 1.103 GB, free: 25.26 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005082/1.029, allocations: 117.1 kB / 1.103 GB, free: 25.26 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006627/1.029, allocations: 160 kB / 1.103 GB, free: 25.24 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.136e-05/1.029, allocations: 24.14 kB / 1.103 GB, free: 25.24 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007773/1.03, allocations: 0.7183 MB / 1.104 GB, free: 24.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/1.03, allocations: 5.859 kB / 1.104 GB, free: 24.71 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005658/1.036, allocations: 1.852 MB / 1.106 GB, free: 24.31 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001174/1.037, allocations: 335.3 kB / 1.106 GB, free: 24.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002154/1.037, allocations: 16.16 kB / 1.106 GB, free: 24.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/1.038, allocations: 102.5 kB / 1.106 GB, free: 24.12 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/1.038, allocations: 53.22 kB / 1.106 GB, free: 24.12 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-05/1.038, allocations: 37.02 kB / 1.106 GB, free: 24.12 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0018/1.04, allocations: 0.8482 MB / 1.107 GB, free: 24.01 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.3e-07/1.04, allocations: 0 / 1.107 GB, free: 24.01 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003632/1.044, allocations: 0.7019 MB / 1.108 GB, free: 23.92 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.007337/1.051, allocations: 2.723 MB / 1.11 GB, free: 22.93 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003085/1.054, allocations: 1.166 MB / 1.111 GB, free: 22.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/1.054, allocations: 5.156 kB / 1.111 GB, free: 22.89 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001028/1.056, allocations: 404.1 kB / 1.112 GB, free: 22.89 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004802/1.06, allocations: 0.7678 MB / 1.113 GB, free: 22.82 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02479/1.085, allocations: 8.312 MB / 1.121 GB, free: 19.97 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008386/1.086, allocations: 1.169 MB / 1.122 GB, free: 19.25 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00193/1.088, allocations: 309.9 kB / 1.122 GB, free: 19.17 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007184/1.089, allocations: 0.5119 MB / 1.123 GB, free: 19.16 MB / 0.6823 GB Notification: Performance of SimCode: time 1.954e-06/1.089, allocations: 3.938 kB / 1.123 GB, free: 19.16 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07224/1.161, allocations: 42.08 MB / 1.164 GB, free: 3.328 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002288/1.161, allocations: 270 kB / 1.164 GB, free: 2.965 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.641/4.802, allocations: 0 / 1.164 GB, free: 2.965 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1)