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: translateModel(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.876/1.876, allocations: 288.4 MB / 303.4 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.0009786/0.000979, allocations: 184.4 kB / 372 MB, free: 10.24 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.598/1.598, allocations: 205.4 MB / 0.6307 GB, free: 9.969 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.0007532/0.0007528, allocations: 90.98 kB / 0.7441 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000599/0.0005996, allocations: 19.12 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3164, allocations: 115.3 MB / 0.9796 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.08043/0.3969, allocations: 69.43 MB / 1.047 GB, free: 6.023 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.02066/0.4176, allocations: 11.84 MB / 1.059 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003/0.4207, allocations: 55.62 kB / 1.059 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002624/0.4233, allocations: 0.5627 MB / 1.06 GB, free: 9.543 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.007734/0.4311, allocations: 1.879 MB / 1.061 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003857/0.435, allocations: 0.9815 MB / 1.062 GB, free: 6.688 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.009693/0.4447, allocations: 4.76 MB / 1.067 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002527/0.4472, allocations: 1.001 MB / 1.068 GB, free: 0.8867 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5594/1.007, allocations: 1.269 MB / 1.069 GB, free: 34.33 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004019/1.011, allocations: 1.066 MB / 1.07 GB, free: 34.33 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0009289/1.012, allocations: 56.19 kB / 1.07 GB, free: 34.33 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004812/1.017, allocations: 0.938 MB / 1.071 GB, free: 34.33 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001004/1.018, allocations: 271.2 kB / 1.071 GB, free: 34.33 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001512/1.019, allocations: 358.8 kB / 1.072 GB, free: 34.3 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.007875/1.027, allocations: 2.086 MB / 1.074 GB, free: 34.23 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.263e-05/1.027, allocations: 0 / 1.074 GB, free: 34.23 MB / 0.6823 GB Notification: Performance of FrontEnd: time 6.092e-06/1.027, allocations: 1.688 kB / 1.074 GB, free: 34.23 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001019/1.027, allocations: 4.562 kB / 1.074 GB, free: 34.23 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.006351/1.034, allocations: 1.796 MB / 1.076 GB, free: 33.25 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/1.034, allocations: 8.875 kB / 1.076 GB, free: 33.25 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001038/1.035, allocations: 238.8 kB / 1.076 GB, free: 33.17 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003305/1.038, allocations: 1.437 MB / 1.077 GB, free: 32.81 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.915e-05/1.038, allocations: 77.66 kB / 1.077 GB, free: 32.81 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002291/1.038, allocations: 101.5 kB / 1.077 GB, free: 32.81 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002792/1.041, allocations: 1.117 MB / 1.079 GB, free: 32.68 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.221e-05/1.041, allocations: 0.9688 kB / 1.079 GB, free: 32.68 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/1.041, allocations: 40.41 kB / 1.079 GB, free: 32.68 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.254e-05/1.041, allocations: 25.16 kB / 1.079 GB, free: 32.68 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002434/1.044, allocations: 0.9227 MB / 1.079 GB, free: 32.67 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.008261/1.052, allocations: 4.932 MB / 1.084 GB, free: 30.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001746/1.054, allocations: 0.6426 MB / 1.085 GB, free: 30.47 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009235/1.055, allocations: 378.7 kB / 1.085 GB, free: 30.45 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005908/1.055, allocations: 0.8298 MB / 1.086 GB, free: 29.51 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/1.055, allocations: 38.47 kB / 1.086 GB, free: 29.47 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=62): time 4.358e-06/1.055, allocations: 0.9375 kB / 1.086 GB, free: 29.47 MB / 0.6823 GB Notification: Performance of matching and sorting (n=62): time 0.008195/1.064, allocations: 1.888 MB / 1.088 GB, free: 29.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/1.064, allocations: 58.81 kB / 1.088 GB, free: 29.13 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002368/1.066, allocations: 1.193 MB / 1.089 GB, free: 28.97 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002281/1.066, allocations: 41.89 kB / 1.089 GB, free: 28.94 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006156/1.067, allocations: 0.6045 MB / 1.09 GB, free: 28.73 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002906/1.067, allocations: 218.8 kB / 1.09 GB, free: 28.59 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.613e-05/1.067, allocations: 12.34 kB / 1.09 GB, free: 28.59 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.992e-05/1.067, allocations: 331.6 kB / 1.09 GB, free: 28.29 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007909/1.068, allocations: 296.2 kB / 1.091 GB, free: 28.28 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001088/1.069, allocations: 0.4973 MB / 1.091 GB, free: 28.08 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009463/1.07, allocations: 361 kB / 1.091 GB, free: 28.06 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/1.07, allocations: 0 / 1.091 GB, free: 28.06 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005321/1.076, allocations: 1.401 MB / 1.093 GB, free: 27.91 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001346/1.076, allocations: 196 kB / 1.093 GB, free: 27.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/1.076, allocations: 3.656 kB / 1.093 GB, free: 27.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008062/1.077, allocations: 167.6 kB / 1.093 GB, free: 27.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006418/1.077, allocations: 162.2 kB / 1.093 GB, free: 27.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007973/1.078, allocations: 0.7348 MB / 1.094 GB, free: 27.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001874/1.08, allocations: 167 kB / 1.094 GB, free: 27.11 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/1.08, allocations: 36 kB / 1.094 GB, free: 27.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/1.08, allocations: 4.125 kB / 1.094 GB, free: 27.1 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00474/1.085, allocations: 1.254 MB / 1.095 GB, free: 27.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/1.085, allocations: 5.219 kB / 1.095 GB, free: 27.05 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006677/1.086, allocations: 165.5 kB / 1.096 GB, free: 27.04 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006455/1.086, allocations: 167.3 kB / 1.096 GB, free: 27.03 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000886/1.087, allocations: 0.7206 MB / 1.097 GB, free: 26.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001714/1.089, allocations: 172.1 kB / 1.097 GB, free: 26.46 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.938e-05/1.089, allocations: 32.67 kB / 1.097 GB, free: 26.46 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.001019/1.09, allocations: 416.9 kB / 1.097 GB, free: 26.27 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003062/1.09, allocations: 132 kB / 1.097 GB, free: 26.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005297/1.096, allocations: 1.419 MB / 1.099 GB, free: 26.07 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.358e-05/1.096, allocations: 8.547 kB / 1.099 GB, free: 26.07 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/1.096, allocations: 0 / 1.099 GB, free: 26.07 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00486/1.101, allocations: 1.242 MB / 1.1 GB, free: 25.86 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007742/1.108, allocations: 2.745 MB / 1.103 GB, free: 25.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/1.108, allocations: 5.688 kB / 1.103 GB, free: 25.33 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005039/1.109, allocations: 126.5 kB / 1.103 GB, free: 25.33 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006545/1.11, allocations: 155.2 kB / 1.103 GB, free: 25.31 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.324e-05/1.11, allocations: 23.91 kB / 1.103 GB, free: 25.31 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007721/1.11, allocations: 0.7215 MB / 1.104 GB, free: 24.79 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.11, allocations: 3.312 kB / 1.104 GB, free: 24.79 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005433/1.116, allocations: 1.859 MB / 1.105 GB, free: 24.38 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001114/1.117, allocations: 330.3 kB / 1.106 GB, free: 24.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002003/1.117, allocations: 15.78 kB / 1.106 GB, free: 24.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009601/1.118, allocations: 96.27 kB / 1.106 GB, free: 24.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/1.118, allocations: 62.56 kB / 1.106 GB, free: 24.19 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.571e-05/1.118, allocations: 30.03 kB / 1.106 GB, free: 24.19 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00152/1.12, allocations: 0.8502 MB / 1.107 GB, free: 24.08 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/1.12, allocations: 2.625 kB / 1.107 GB, free: 24.08 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002194/1.122, allocations: 0.7021 MB / 1.107 GB, free: 23.99 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.000904/1.123, allocations: 438.9 kB / 1.108 GB, free: 23.82 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002711/1.126, allocations: 1.169 MB / 1.109 GB, free: 23.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/1.126, allocations: 1.75 kB / 1.109 GB, free: 23.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001/1.127, allocations: 400.4 kB / 1.109 GB, free: 23.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00429/1.131, allocations: 0.7677 MB / 1.11 GB, free: 23.73 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004659/1.136, allocations: 2.759 MB / 1.113 GB, free: 22.33 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007954/1.137, allocations: 1.172 MB / 1.114 GB, free: 21.61 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001596/1.138, allocations: 304.4 kB / 1.114 GB, free: 21.53 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002888/1.138, allocations: 105.2 kB / 1.114 GB, free: 21.52 MB / 0.6823 GB Notification: Performance of SimCode: time 1.222e-06/1.138, allocations: 0 / 1.114 GB, free: 21.52 MB / 0.6823 GB Notification: Performance of Templates: time 0.04833/1.187, allocations: 29.45 MB / 1.143 GB, free: 6.668 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1)