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.456/1.456, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.0009536/0.0009537, allocations: 165.4 kB / 326.5 MB, free: 2.699 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.755/1.755, allocations: 205 MB / 0.5766 GB, free: 21.06 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.0008833/0.0008834, allocations: 88.69 kB / 0.6803 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003549/0.0003551, allocations: 11.09 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1844, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.0564/0.2408, allocations: 74.44 MB / 0.9694 GB, free: 9.516 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01949/0.2604, allocations: 15.06 MB / 0.9841 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002664/0.2631, allocations: 55.62 kB / 0.9842 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002337/0.2655, allocations: 0.676 MB / 0.9849 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.006946/0.2724, allocations: 2.358 MB / 0.9872 GB, free: 7.312 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003583/0.276, allocations: 1.242 MB / 0.9884 GB, free: 6.082 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.006977/0.283, allocations: 5.514 MB / 0.9938 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002344/0.2854, allocations: 1.128 MB / 0.9949 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003381/0.2888, allocations: 1.353 MB / 0.9962 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002356/0.2912, allocations: 1.147 MB / 0.9973 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0004258/0.2917, allocations: 52 kB / 0.9973 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0034/0.2951, allocations: 1.236 MB / 0.9986 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.000627/0.2957, allocations: 282.6 kB / 0.9988 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001774/0.2975, allocations: 0.7693 MB / 0.9996 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.003501/0.301, allocations: 2.147 MB / 1.002 GB, free: 8.391 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.301, allocations: 0 / 1.002 GB, free: 8.391 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.475e-06/0.3011, allocations: 0 / 1.002 GB, free: 8.391 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.633e-05/0.3012, allocations: 0 / 1.002 GB, free: 8.391 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.004315/0.3055, allocations: 1.783 MB / 1.003 GB, free: 6.539 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.3055, allocations: 12.03 kB / 1.003 GB, free: 6.527 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/0.3067, allocations: 238.8 kB / 1.004 GB, free: 6.293 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00315/0.3098, allocations: 1.474 MB / 1.005 GB, free: 4.766 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.881e-05/0.3099, allocations: 78 kB / 1.005 GB, free: 4.688 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002117/0.3102, allocations: 100 kB / 1.005 GB, free: 4.59 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002295/0.3125, allocations: 1.12 MB / 1.006 GB, free: 3.438 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.794e-05/0.3125, allocations: 3.938 kB / 1.006 GB, free: 3.434 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.793e-05/0.3126, allocations: 36 kB / 1.006 GB, free: 3.398 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.375e-05/0.3127, allocations: 35.92 kB / 1.006 GB, free: 3.363 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002112/0.3148, allocations: 0.9368 MB / 1.007 GB, free: 2.422 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.007028/0.3218, allocations: 4.896 MB / 1.012 GB, free: 13.23 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001505/0.3234, allocations: 0.6486 MB / 1.013 GB, free: 12.57 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007278/0.3241, allocations: 380 kB / 1.013 GB, free: 12.2 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006991/0.3248, allocations: 0.8277 MB / 1.014 GB, free: 11.19 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.3249, allocations: 39.12 kB / 1.014 GB, free: 11.14 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=61): time 2.695e-06/0.3249, allocations: 0 / 1.014 GB, free: 11.14 MB / 0.6667 GB Notification: Performance of matching and sorting (n=61): time 0.00745/0.3323, allocations: 1.904 MB / 1.016 GB, free: 9.211 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.3324, allocations: 55.97 kB / 1.016 GB, free: 9.141 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002178/0.3346, allocations: 1.206 MB / 1.017 GB, free: 7.918 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001104/0.3347, allocations: 41.7 kB / 1.017 GB, free: 7.871 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005905/0.3353, allocations: 0.6065 MB / 1.018 GB, free: 7.258 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002568/0.3356, allocations: 216.9 kB / 1.018 GB, free: 7.043 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.3357, allocations: 61.69 kB / 1.018 GB, free: 6.977 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.3359, allocations: 330 kB / 1.018 GB, free: 6.648 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007051/0.3366, allocations: 305.8 kB / 1.019 GB, free: 6.352 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009472/0.3375, allocations: 0.5162 MB / 1.019 GB, free: 5.754 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001539/0.3391, allocations: 0.7481 MB / 1.02 GB, free: 4.961 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.828e-06/0.3391, allocations: 7.938 kB / 1.02 GB, free: 4.953 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005055/0.3442, allocations: 1.414 MB / 1.021 GB, free: 3.527 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.000177/0.3444, allocations: 190 kB / 1.021 GB, free: 3.289 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.3444, allocations: 8 kB / 1.021 GB, free: 3.281 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007061/0.3451, allocations: 140.7 kB / 1.022 GB, free: 3.141 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006746/0.3458, allocations: 171.7 kB / 1.022 GB, free: 2.973 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009731/0.3468, allocations: 0.7163 MB / 1.022 GB, free: 2.23 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001505/0.3483, allocations: 178.9 kB / 1.023 GB, free: 2.055 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/0.3485, allocations: 31.98 kB / 1.023 GB, free: 2.023 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.3485, allocations: 4 kB / 1.023 GB, free: 2.02 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004477/0.353, allocations: 1.254 MB / 1.024 GB, free: 0.7617 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.353, allocations: 4 kB / 1.024 GB, free: 0.7578 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000527/0.3535, allocations: 152.7 kB / 1.024 GB, free: 0.6055 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006069/0.3541, allocations: 163.8 kB / 1.024 GB, free: 456 kB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008818/0.355, allocations: 0.72 MB / 1.025 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/0.3564, allocations: 163.8 kB / 1.025 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.146e-05/0.3565, allocations: 28 kB / 1.025 GB, free: 15.51 MB / 0.6823 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0007867/0.3573, allocations: 420.9 kB / 1.025 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004159/0.3577, allocations: 138.2 kB / 1.026 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004818/0.3625, allocations: 1.4 MB / 1.027 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-05/0.3626, allocations: 7.984 kB / 1.027 GB, free: 13.53 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.3626, allocations: 4 kB / 1.027 GB, free: 13.53 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004129/0.3667, allocations: 1.228 MB / 1.028 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007258/0.374, allocations: 2.739 MB / 1.031 GB, free: 9.418 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-05/0.3741, allocations: 4 kB / 1.031 GB, free: 9.414 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005435/0.3746, allocations: 119.8 kB / 1.031 GB, free: 9.297 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005372/0.3752, allocations: 144.8 kB / 1.031 GB, free: 9.152 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.102e-05/0.3753, allocations: 20 kB / 1.031 GB, free: 9.133 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004984/0.3803, allocations: 2.478 MB / 1.033 GB, free: 6.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.245e-06/0.3803, allocations: 11.92 kB / 1.033 GB, free: 6.488 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006043/0.3863, allocations: 1.856 MB / 1.035 GB, free: 4.562 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007734/0.3872, allocations: 307.1 kB / 1.036 GB, free: 4.242 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003413/0.3875, allocations: 23.94 kB / 1.036 GB, free: 4.219 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/0.3886, allocations: 87.88 kB / 1.036 GB, free: 4.133 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001631/0.3888, allocations: 60.3 kB / 1.036 GB, free: 4.074 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.65e-05/0.3889, allocations: 31.92 kB / 1.036 GB, free: 4.043 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00159/0.3905, allocations: 0.8621 MB / 1.037 GB, free: 3.18 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2e-07/0.3905, allocations: 0 / 1.037 GB, free: 3.18 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002526/0.393, allocations: 0.7096 MB / 1.037 GB, free: 2.469 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001076/0.3941, allocations: 439.7 kB / 1.038 GB, free: 2.039 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002831/0.397, allocations: 1.172 MB / 1.039 GB, free: 0.8711 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.397, allocations: 0 / 1.039 GB, free: 0.8711 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001538/0.3985, allocations: 0.6033 MB / 1.039 GB, free: 264 kB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004458/0.403, allocations: 0.8095 MB / 1.04 GB, free: 15.47 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004551/0.4076, allocations: 2.795 MB / 1.043 GB, free: 12.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000782/0.4084, allocations: 1.173 MB / 1.044 GB, free: 11.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003962/0.4088, allocations: 111.4 kB / 1.044 GB, free: 11.29 MB / 0.698 GB Notification: Performance of SimCode: time 6.01e-07/0.4088, allocations: 0 / 1.044 GB, free: 11.29 MB / 0.698 GB Notification: Performance of Templates: time 0.3824/0.7912, allocations: 30.71 MB / 1.074 GB, free: 142.7 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)