Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.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.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.68/1.68, allocations: 288.4 MB / 304.3 MB, free: 8.07 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.0009522/0.0009523, allocations: 189.8 kB / 372.9 MB, free: 10.15 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.317/1.317, allocations: 205.4 MB / 0.6316 GB, free: 9.906 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.0007176/0.0007176, allocations: 98.27 kB / 0.745 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003907/0.0003908, allocations: 16.25 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.1986, allocations: 115.3 MB / 0.9807 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.06073/0.2594, allocations: 69.48 MB / 1.049 GB, free: 5.703 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.0189/0.2783, allocations: 14.08 MB / 1.062 GB, free: 7.598 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002596/0.281, allocations: 55.62 kB / 1.062 GB, free: 7.543 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002281/0.2833, allocations: 0.5666 MB / 1.063 GB, free: 6.973 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.006598/0.2899, allocations: 2.108 MB / 1.065 GB, free: 4.855 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003515/0.2934, allocations: 0.993 MB / 1.066 GB, free: 3.875 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.4343/0.7277, allocations: 4.807 MB / 1.071 GB, free: 34.1 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002533/0.7303, allocations: 1.133 MB / 1.072 GB, free: 33.98 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003296/0.7336, allocations: 1.309 MB / 1.073 GB, free: 33.98 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002917/0.7366, allocations: 1.081 MB / 1.074 GB, free: 33.98 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004071/0.737, allocations: 61.19 kB / 1.074 GB, free: 33.98 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003889/0.7409, allocations: 1.175 MB / 1.075 GB, free: 33.98 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0005503/0.7415, allocations: 270.6 kB / 1.076 GB, free: 33.98 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001848/0.7433, allocations: 0.7654 MB / 1.076 GB, free: 33.95 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004325/0.7477, allocations: 2.159 MB / 1.078 GB, free: 33.88 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.7477, allocations: 0 / 1.078 GB, free: 33.88 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.034e-06/0.7477, allocations: 0 / 1.078 GB, free: 33.88 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.5e-05/0.7478, allocations: 0.9375 kB / 1.078 GB, free: 33.88 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.005056/0.7528, allocations: 1.776 MB / 1.08 GB, free: 32.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.7529, allocations: 12.38 kB / 1.08 GB, free: 32.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/0.754, allocations: 246 kB / 1.08 GB, free: 32.81 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003002/0.757, allocations: 1.481 MB / 1.082 GB, free: 32.39 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.231e-05/0.7571, allocations: 76.72 kB / 1.082 GB, free: 32.39 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002006/0.7573, allocations: 100.5 kB / 1.082 GB, free: 32.39 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002392/0.7597, allocations: 1.119 MB / 1.083 GB, free: 32.25 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.726e-05/0.7598, allocations: 0.6562 kB / 1.083 GB, free: 32.25 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.865e-05/0.7599, allocations: 40.97 kB / 1.083 GB, free: 32.25 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.946e-05/0.7599, allocations: 28.19 kB / 1.083 GB, free: 32.25 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002227/0.7622, allocations: 0.9194 MB / 1.084 GB, free: 32.23 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.007334/0.7695, allocations: 4.915 MB / 1.089 GB, free: 30.03 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/0.7711, allocations: 0.6457 MB / 1.09 GB, free: 29.99 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008042/0.7719, allocations: 372.6 kB / 1.09 GB, free: 29.98 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005054/0.7724, allocations: 0.8362 MB / 1.091 GB, free: 29.03 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.7724, allocations: 43.88 kB / 1.091 GB, free: 28.99 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 3.336e-06/0.7724, allocations: 0 / 1.091 GB, free: 28.99 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.007815/0.7803, allocations: 1.897 MB / 1.093 GB, free: 28.71 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.7803, allocations: 57.25 kB / 1.093 GB, free: 28.64 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002281/0.7826, allocations: 1.188 MB / 1.094 GB, free: 28.48 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002086/0.7829, allocations: 43.11 kB / 1.094 GB, free: 28.45 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004827/0.7834, allocations: 0.6054 MB / 1.094 GB, free: 28.25 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002356/0.7836, allocations: 213 kB / 1.095 GB, free: 28.11 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.533e-05/0.7836, allocations: 14.56 kB / 1.095 GB, free: 28.11 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.583e-05/0.7837, allocations: 333.1 kB / 1.095 GB, free: 27.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007452/0.7845, allocations: 297.1 kB / 1.095 GB, free: 27.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008069/0.7853, allocations: 0.5121 MB / 1.096 GB, free: 27.58 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001389/0.7867, allocations: 0.7418 MB / 1.096 GB, free: 27.43 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.7867, allocations: 3.312 kB / 1.096 GB, free: 27.43 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005175/0.7919, allocations: 1.394 MB / 1.098 GB, free: 27.28 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.792, allocations: 197.5 kB / 1.098 GB, free: 27.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.7921, allocations: 8.438 kB / 1.098 GB, free: 27.06 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006543/0.7927, allocations: 146.3 kB / 1.098 GB, free: 27.05 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007429/0.7935, allocations: 166.5 kB / 1.098 GB, free: 27.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008286/0.7943, allocations: 0.7149 MB / 1.099 GB, free: 26.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001834/0.7962, allocations: 170.7 kB / 1.099 GB, free: 26.47 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.7963, allocations: 35.45 kB / 1.099 GB, free: 26.47 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.067e-06/0.7963, allocations: 3.281 kB / 1.099 GB, free: 26.47 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004966/0.8013, allocations: 1.253 MB / 1.1 GB, free: 26.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/0.8013, allocations: 4.375 kB / 1.1 GB, free: 26.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006193/0.8019, allocations: 144.5 kB / 1.101 GB, free: 26.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007076/0.8027, allocations: 165.9 kB / 1.101 GB, free: 26.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008894/0.8036, allocations: 0.7176 MB / 1.101 GB, free: 25.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001804/0.8054, allocations: 162.2 kB / 1.102 GB, free: 25.82 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001352/0.8055, allocations: 31.2 kB / 1.102 GB, free: 25.82 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 (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.001017/0.8066, allocations: 420.5 kB / 1.102 GB, free: 25.63 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005727/0.8071, allocations: 139.8 kB / 1.102 GB, free: 25.56 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005431/0.8126, allocations: 1.397 MB / 1.104 GB, free: 25.43 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004436/0.817, allocations: 1.234 MB / 1.105 GB, free: 25.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/0.8171, allocations: 0 / 1.105 GB, free: 25.21 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001448/0.8185, allocations: 327 kB / 1.105 GB, free: 25.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006284/0.8192, allocations: 10.56 kB / 1.105 GB, free: 25.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00133/0.8205, allocations: 93.19 kB / 1.105 GB, free: 25.03 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/0.8207, allocations: 47.47 kB / 1.105 GB, free: 25.02 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00295/0.8237, allocations: 1.046 MB / 1.106 GB, free: 24.86 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002602/0.8263, allocations: 1.383 MB / 1.108 GB, free: 24.55 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007039/0.827, allocations: 341.8 kB / 1.108 GB, free: 24.55 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001961/0.829, allocations: 0.8343 MB / 1.109 GB, free: 24.44 MB / 0.6823 GB Notification: Performance of Backend: time 1.974e-06/0.829, allocations: 0 / 1.109 GB, free: 24.44 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005653/0.8347, allocations: 1.417 MB / 1.11 GB, free: 24.25 MB / 0.6823 GB Notification: Performance of SimCode: time 0.009163/0.8438, allocations: 3.606 MB / 1.114 GB, free: 22.4 MB / 0.6823 GB Notification: Performance of Templates: time 0.05542/0.8993, allocations: 31.4 MB / 1.144 GB, free: 6.48 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)