Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.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: translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.532/1.532, allocations: 252 MB / 267.6 MB, free: 10.92 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.001008/0.001008, allocations: 174.3 kB / 327.3 MB, free: 2.219 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.767/1.767, allocations: 205.4 MB / 0.5783 GB, free: 20.52 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.0007786/0.0007786, allocations: 80.25 kB / 0.6829 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003672/0.0003674, allocations: 10.59 kB / 0.797 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2599, allocations: 106.3 MB / 0.9008 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.05217/0.3122, allocations: 69.47 MB / 0.9687 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0218/0.334, allocations: 14.04 MB / 0.9824 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003372/0.3375, allocations: 51.62 kB / 0.9824 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002808/0.3403, allocations: 0.5666 MB / 0.983 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.008014/0.3483, allocations: 1.973 MB / 0.9849 GB, free: 9.969 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003754/0.3521, allocations: 0.9348 MB / 0.9858 GB, free: 9.043 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.00792/0.3601, allocations: 4.769 MB / 0.9905 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002318/0.3624, allocations: 1.005 MB / 0.9915 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003418/0.3659, allocations: 1.271 MB / 0.9927 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002332/0.3682, allocations: 1.077 MB / 0.9937 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002466/0.3685, allocations: 56 kB / 0.9938 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003126/0.3716, allocations: 0.9238 MB / 0.9947 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0003841/0.372, allocations: 266.7 kB / 0.995 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0007907/0.3728, allocations: 360.9 kB / 0.9953 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.003542/0.3764, allocations: 2.069 MB / 0.9973 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/0.3764, allocations: 0 / 0.9973 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.604e-06/0.3764, allocations: 0 / 0.9973 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.289e-05/0.3765, allocations: 0 / 0.9973 GB, free: 13.2 MB / 0.6511 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.003965/0.3804, allocations: 1.791 MB / 0.9991 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.3805, allocations: 12.03 kB / 0.9991 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008337/0.3813, allocations: 241.8 kB / 0.9993 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002793/0.3841, allocations: 1.431 MB / 1.001 GB, free: 9.602 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.958e-05/0.3842, allocations: 85.88 kB / 1.001 GB, free: 9.52 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001669/0.3844, allocations: 100 kB / 1.001 GB, free: 9.422 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002238/0.3867, allocations: 1.108 MB / 1.002 GB, free: 8.277 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.868e-05/0.3867, allocations: 0 / 1.002 GB, free: 8.277 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.494e-05/0.3868, allocations: 40 kB / 1.002 GB, free: 8.238 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-05/0.3869, allocations: 31.94 kB / 1.002 GB, free: 8.207 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002147/0.389, allocations: 0.9251 MB / 1.003 GB, free: 7.281 MB / 0.6511 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.00712/0.3961, allocations: 4.9 MB / 1.008 GB, free: 2.094 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001666/0.3978, allocations: 0.6396 MB / 1.008 GB, free: 1.445 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000795/0.3987, allocations: 360.8 kB / 1.009 GB, free: 1.094 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009525/0.3996, allocations: 0.8316 MB / 1.01 GB, free: 80 kB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.013e-05/0.3997, allocations: 43.06 kB / 1.01 GB, free: 24 kB / 0.6511 GB Notification: Performance of pre-optimization done (n=61): time 3.346e-06/0.3997, allocations: 0 / 1.01 GB, free: 24 kB / 0.6511 GB Notification: Performance of matching and sorting (n=61): time 0.007994/0.4077, allocations: 1.889 MB / 1.011 GB, free: 14.1 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.281e-05/0.4078, allocations: 59.97 kB / 1.011 GB, free: 14.03 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00234/0.4102, allocations: 1.19 MB / 1.013 GB, free: 12.82 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001913/0.4104, allocations: 41.7 kB / 1.013 GB, free: 12.78 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006633/0.4111, allocations: 0.6025 MB / 1.013 GB, free: 12.17 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002987/0.4114, allocations: 216.9 kB / 1.013 GB, free: 11.96 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.805e-05/0.4114, allocations: 16 kB / 1.013 GB, free: 11.94 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002141/0.4116, allocations: 334 kB / 1.014 GB, free: 11.61 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007667/0.4124, allocations: 293.8 kB / 1.014 GB, free: 11.32 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009424/0.4134, allocations: 0.5123 MB / 1.015 GB, free: 10.73 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007936/0.4142, allocations: 355 kB / 1.015 GB, free: 10.38 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.4142, allocations: 11.94 kB / 1.015 GB, free: 10.37 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005043/0.4193, allocations: 1.39 MB / 1.016 GB, free: 8.969 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001875/0.4195, allocations: 206.2 kB / 1.016 GB, free: 8.715 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.4195, allocations: 0 / 1.016 GB, free: 8.715 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006704/0.4202, allocations: 148.7 kB / 1.017 GB, free: 8.566 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006853/0.4209, allocations: 163.8 kB / 1.017 GB, free: 8.406 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001003/0.4219, allocations: 0.72 MB / 1.017 GB, free: 7.66 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/0.4235, allocations: 167.1 kB / 1.018 GB, free: 7.496 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/0.4236, allocations: 35.98 kB / 1.018 GB, free: 7.461 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.4236, allocations: 8 kB / 1.018 GB, free: 7.453 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004748/0.4284, allocations: 1.245 MB / 1.019 GB, free: 6.203 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.063e-05/0.4284, allocations: 7.953 kB / 1.019 GB, free: 6.195 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005713/0.429, allocations: 149.1 kB / 1.019 GB, free: 6.047 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006511/0.4297, allocations: 163.8 kB / 1.019 GB, free: 5.887 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009198/0.4306, allocations: 0.7161 MB / 1.02 GB, free: 5.145 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001574/0.4322, allocations: 163.8 kB / 1.02 GB, free: 4.984 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.029e-05/0.4323, allocations: 35.98 kB / 1.02 GB, free: 4.949 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (78): * Single equations (assignments): 77 * 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 10} Notification: Performance of prepare postOptimizeDAE: time 0.0008703/0.4331, allocations: 424.9 kB / 1.02 GB, free: 4.523 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003034/0.4335, allocations: 134.3 kB / 1.021 GB, free: 4.391 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004988/0.4385, allocations: 1.4 MB / 1.022 GB, free: 2.98 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.866e-05/0.4385, allocations: 4 kB / 1.022 GB, free: 2.977 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.4385, allocations: 0 / 1.022 GB, free: 2.977 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004307/0.4428, allocations: 1.236 MB / 1.023 GB, free: 1.703 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007528/0.4504, allocations: 2.719 MB / 1.026 GB, free: 14.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.4505, allocations: 0 / 1.026 GB, free: 14.87 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000537/0.451, allocations: 128.2 kB / 1.026 GB, free: 14.75 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005511/0.4516, allocations: 136.7 kB / 1.026 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.584e-05/0.4516, allocations: 23.98 kB / 1.026 GB, free: 14.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005146/0.4568, allocations: 2.481 MB / 1.029 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/0.4568, allocations: 12 kB / 1.029 GB, free: 11.94 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005887/0.4627, allocations: 1.844 MB / 1.03 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001027/0.4638, allocations: 331.1 kB / 1.031 GB, free: 9.688 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001676/0.464, allocations: 20.05 kB / 1.031 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009587/0.4649, allocations: 97.56 kB / 1.031 GB, free: 9.574 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001674/0.4651, allocations: 64.27 kB / 1.031 GB, free: 9.512 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.558e-05/0.4652, allocations: 27.98 kB / 1.031 GB, free: 9.484 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001522/0.4667, allocations: 0.8543 MB / 1.032 GB, free: 8.629 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4667, allocations: 0 / 1.032 GB, free: 8.629 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002262/0.469, allocations: 0.7135 MB / 1.032 GB, free: 7.914 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.001157/0.4702, allocations: 417.4 kB / 1.033 GB, free: 7.504 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003212/0.4734, allocations: 1.157 MB / 1.034 GB, free: 6.348 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.627e-06/0.4734, allocations: 4 kB / 1.034 GB, free: 6.344 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001642/0.4751, allocations: 0.6033 MB / 1.035 GB, free: 5.73 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00427/0.4794, allocations: 0.7697 MB / 1.035 GB, free: 4.977 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00522/0.4846, allocations: 2.813 MB / 1.038 GB, free: 2.086 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008843/0.4855, allocations: 1.168 MB / 1.039 GB, free: 0.8906 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003746/0.4859, allocations: 107.4 kB / 1.039 GB, free: 0.7852 MB / 0.6823 GB Notification: Performance of SimCode: time 9.82e-07/0.4859, allocations: 0 / 1.039 GB, free: 0.7852 MB / 0.6823 GB Notification: Performance of Templates: time 0.4966/0.9825, allocations: 30.7 MB / 1.069 GB, free: 144.3 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)