Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.279/2.279, allocations: 391.2 MB / 407 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00181/0.001809, allocations: 196.6 kB / 499.1 MB, free: 4.629 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 222.9 MB / 0.7948 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 115.4 kB / 0.9329 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001027/0.001027, allocations: 50.72 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.256, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.0527/0.3087, allocations: 74.78 MB / 1.291 GB, free: 42.21 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01564/0.3244, allocations: 15.22 MB / 1.306 GB, free: 26.96 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002921/0.3274, allocations: 63.56 kB / 1.306 GB, free: 26.89 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.002372/0.3298, allocations: 0.676 MB / 1.307 GB, free: 26.21 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.006424/0.3363, allocations: 2.376 MB / 1.309 GB, free: 23.83 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003057/0.3393, allocations: 1.275 MB / 1.31 GB, free: 22.57 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.00535/0.3447, allocations: 5.59 MB / 1.316 GB, free: 16.96 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001957/0.3467, allocations: 1.194 MB / 1.317 GB, free: 15.73 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002952/0.3497, allocations: 1.381 MB / 1.318 GB, free: 14.35 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002075/0.3518, allocations: 1.206 MB / 1.319 GB, free: 13.14 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004539/0.3522, allocations: 72 kB / 1.319 GB, free: 13.07 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003444/0.3557, allocations: 1.255 MB / 1.321 GB, free: 11.81 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0005822/0.3563, allocations: 318.6 kB / 1.321 GB, free: 11.5 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.001608/0.3579, allocations: 0.8122 MB / 1.322 GB, free: 10.68 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.004642/0.3626, allocations: 2.773 MB / 1.325 GB, free: 7.898 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.3626, allocations: 0 / 1.325 GB, free: 7.898 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3626, allocations: 3.938 kB / 1.325 GB, free: 7.895 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.467e-05/0.3627, allocations: 0 / 1.325 GB, free: 7.895 MB / 0.823 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.004747/0.3675, allocations: 2.083 MB / 1.327 GB, free: 5.742 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.3675, allocations: 11.98 kB / 1.327 GB, free: 5.73 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009894/0.3685, allocations: 230.8 kB / 1.327 GB, free: 5.504 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002694/0.3712, allocations: 1.489 MB / 1.328 GB, free: 3.961 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.835e-05/0.3713, allocations: 74 kB / 1.328 GB, free: 3.887 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001781/0.3715, allocations: 111.9 kB / 1.328 GB, free: 3.777 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001886/0.3734, allocations: 1.096 MB / 1.329 GB, free: 2.648 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.019e-05/0.3734, allocations: 0 / 1.329 GB, free: 2.648 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.638e-05/0.3735, allocations: 40 kB / 1.33 GB, free: 2.609 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.896e-05/0.3736, allocations: 27.94 kB / 1.33 GB, free: 2.582 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001719/0.3753, allocations: 0.8939 MB / 1.33 GB, free: 1.684 MB / 0.823 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.006235/0.3815, allocations: 4.911 MB / 1.335 GB, free: 12.48 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001406/0.383, allocations: 0.6048 MB / 1.336 GB, free: 11.87 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000686/0.3837, allocations: 360.8 kB / 1.336 GB, free: 11.52 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006084/0.3843, allocations: 0.8238 MB / 1.337 GB, free: 10.51 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/0.3843, allocations: 39.12 kB / 1.337 GB, free: 10.46 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=61): time 3.727e-06/0.3844, allocations: 0 / 1.337 GB, free: 10.46 MB / 0.8386 GB Notification: Performance of matching and sorting (n=61): time 0.00723/0.3916, allocations: 1.701 MB / 1.339 GB, free: 8.734 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.3917, allocations: 63.97 kB / 1.339 GB, free: 8.66 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002037/0.3937, allocations: 1.21 MB / 1.34 GB, free: 7.434 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001472/0.3939, allocations: 41.7 kB / 1.34 GB, free: 7.387 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005713/0.3945, allocations: 0.6026 MB / 1.341 GB, free: 6.777 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002416/0.3947, allocations: 208.9 kB / 1.341 GB, free: 6.57 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002584/0.395, allocations: 154.6 kB / 1.341 GB, free: 6.414 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.3951, allocations: 337.9 kB / 1.341 GB, free: 6.078 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006699/0.3958, allocations: 292.7 kB / 1.341 GB, free: 5.789 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008649/0.3967, allocations: 0.4929 MB / 1.342 GB, free: 5.211 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001495/0.3982, allocations: 0.709 MB / 1.343 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.3982, allocations: 4 kB / 1.343 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004855/0.403, allocations: 1.269 MB / 1.344 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.4031, allocations: 8 kB / 1.344 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.4031, allocations: 4 kB / 1.344 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005916/0.4037, allocations: 133.1 kB / 1.344 GB, free: 3.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005883/0.4043, allocations: 159.7 kB / 1.344 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008578/0.4052, allocations: 0.7084 MB / 1.345 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/0.4065, allocations: 155 kB / 1.345 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.001e-05/0.4066, allocations: 35.92 kB / 1.345 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001137/0.4078, allocations: 0.5488 MB / 1.346 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008541/0.4086, allocations: 0.4897 MB / 1.346 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001415/0.4101, allocations: 0.7011 MB / 1.347 GB, free: 76 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.717e-06/0.4101, allocations: 0 / 1.347 GB, free: 76 kB / 0.8386 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004784/0.4149, allocations: 1.269 MB / 1.348 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.4149, allocations: 8 kB / 1.348 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.4149, allocations: 7.938 kB / 1.348 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005038/0.4154, allocations: 141.1 kB / 1.348 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005921/0.416, allocations: 159.7 kB / 1.348 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008203/0.4169, allocations: 0.7045 MB / 1.349 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/0.4182, allocations: 135.5 kB / 1.349 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.772e-05/0.4183, allocations: 35.92 kB / 1.349 GB, free: 13.58 MB / 0.8542 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.0002666/0.4186, allocations: 229.4 kB / 1.349 GB, free: 13.35 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003639/0.4189, allocations: 134.4 kB / 1.349 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004572/0.4235, allocations: 1.264 MB / 1.351 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/0.4236, allocations: 7.984 kB / 1.351 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/0.4236, allocations: 8 kB / 1.351 GB, free: 11.92 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004019/0.4276, allocations: 1.103 MB / 1.352 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007104/0.4347, allocations: 2.602 MB / 1.354 GB, free: 8.066 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.667e-06/0.4348, allocations: 4 kB / 1.354 GB, free: 8.062 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004501/0.4352, allocations: 115.8 kB / 1.354 GB, free: 7.949 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000468/0.4357, allocations: 133.2 kB / 1.355 GB, free: 7.816 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.067e-05/0.4358, allocations: 20 kB / 1.355 GB, free: 7.797 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004697/0.4405, allocations: 2.392 MB / 1.357 GB, free: 5.262 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.4405, allocations: 4 kB / 1.357 GB, free: 5.258 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03503/0.4755, allocations: 10.72 MB / 1.367 GB, free: 10.17 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006106/0.4762, allocations: 311.2 kB / 1.368 GB, free: 9.848 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000198/0.4764, allocations: 20 kB / 1.368 GB, free: 9.828 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008925/0.4773, allocations: 79.91 kB / 1.368 GB, free: 9.75 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000144/0.4774, allocations: 64.23 kB / 1.368 GB, free: 9.684 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.836e-05/0.4775, allocations: 28.09 kB / 1.368 GB, free: 9.656 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001239/0.4788, allocations: 0.8739 MB / 1.369 GB, free: 8.781 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4788, allocations: 0 / 1.369 GB, free: 8.781 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00286/0.4816, allocations: 1.096 MB / 1.37 GB, free: 7.684 MB / 0.8698 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.0009282/0.4826, allocations: 444.3 kB / 1.37 GB, free: 7.246 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00255/0.4852, allocations: 1.117 MB / 1.371 GB, free: 6.125 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.4852, allocations: 0 / 1.371 GB, free: 6.125 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001469/0.4866, allocations: 0.5603 MB / 1.372 GB, free: 5.555 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003394/0.4901, allocations: 0.7577 MB / 1.373 GB, free: 4.812 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006062/0.4961, allocations: 3.506 MB / 1.376 GB, free: 1.203 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008056/0.497, allocations: 1.191 MB / 1.377 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001311/0.4983, allocations: 320.7 kB / 1.378 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002799/0.4986, allocations: 107.4 kB / 1.378 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of SimCode: time 5.81e-07/0.4986, allocations: 0 / 1.378 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of Templates: time 0.0531/0.5517, allocations: 33.47 MB / 1.41 GB, free: 14.38 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)