Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.721/2.721, allocations: 287.5 MB / 302.4 MB, free: 8.246 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.001344/0.001344, allocations: 179.2 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.356/2.356, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.0009497/0.0009494, allocations: 86.05 kB / 0.743 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004862/0.0004867, allocations: 12.67 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2057, allocations: 115.3 MB / 0.9783 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.08186/0.2877, allocations: 56.54 MB / 1.034 GB, free: 3.695 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02247/0.3102, allocations: 11.14 MB / 1.044 GB, free: 8.539 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002072/0.3123, allocations: 55.62 kB / 1.044 GB, free: 8.484 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002311/0.3146, allocations: 464.9 kB / 1.045 GB, free: 8.027 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.006441/0.3211, allocations: 1.513 MB / 1.046 GB, free: 6.508 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.004083/0.3252, allocations: 0.8843 MB / 1.047 GB, free: 5.633 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.006355/0.3316, allocations: 3.382 MB / 1.051 GB, free: 2.238 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001957/0.3336, allocations: 0.7859 MB / 1.051 GB, free: 1.43 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003309/0.337, allocations: 1.054 MB / 1.052 GB, free: 380 kB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002044/0.339, allocations: 0.8089 MB / 1.053 GB, free: 15.56 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.000306/0.3394, allocations: 40 kB / 1.053 GB, free: 15.52 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004047/0.3434, allocations: 1.107 MB / 1.054 GB, free: 14.41 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004994/0.344, allocations: 211 kB / 1.054 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0006507/0.3447, allocations: 285 kB / 1.055 GB, free: 13.92 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003749/0.3484, allocations: 1.645 MB / 1.056 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.3485, allocations: 0 / 1.056 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.487e-06/0.3485, allocations: 0 / 1.056 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.409e-05/0.3485, allocations: 0 / 1.056 GB, free: 12.27 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004286/0.3528, allocations: 1.508 MB / 1.058 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.3529, allocations: 12.03 kB / 1.058 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003786/0.3567, allocations: 469.9 kB / 1.058 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003501/0.3602, allocations: 1.101 MB / 1.059 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006857/0.3609, allocations: 129.9 kB / 1.059 GB, free: 8.945 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002113/0.3612, allocations: 84 kB / 1.06 GB, free: 8.863 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003448/0.3646, allocations: 0.9995 MB / 1.061 GB, free: 7.824 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.96e-05/0.3647, allocations: 0 / 1.061 GB, free: 7.824 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001331/0.3648, allocations: 32 kB / 1.061 GB, free: 7.793 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.565e-05/0.3649, allocations: 16 kB / 1.061 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004242/0.3691, allocations: 0.9368 MB / 1.062 GB, free: 6.844 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.01057/0.3797, allocations: 4.635 MB / 1.066 GB, free: 1.895 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006397/0.3861, allocations: 0.9364 MB / 1.067 GB, free: 0.9492 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001443/0.3876, allocations: 342 kB / 1.067 GB, free: 0.6133 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6084/0.996, allocations: 0.9019 MB / 1.068 GB, free: 90.75 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.74e-05/0.9961, allocations: 38.52 kB / 1.068 GB, free: 90.71 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=48): time 3.456e-06/0.9961, allocations: 0.6562 kB / 1.068 GB, free: 90.71 MB / 0.6823 GB Notification: Performance of matching and sorting (n=48): time 0.01709/1.013, allocations: 2.213 MB / 1.07 GB, free: 90.57 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/1.013, allocations: 57.53 kB / 1.07 GB, free: 90.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002613/1.016, allocations: 1.052 MB / 1.071 GB, free: 90.24 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001598/1.016, allocations: 39.61 kB / 1.071 GB, free: 90.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006032/1.017, allocations: 0.5169 MB / 1.072 GB, free: 89.86 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000213/1.017, allocations: 162.3 kB / 1.072 GB, free: 89.75 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-05/1.017, allocations: 10.94 kB / 1.072 GB, free: 89.75 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.84e-05/1.017, allocations: 332.2 kB / 1.072 GB, free: 89.43 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001752/1.019, allocations: 331.3 kB / 1.073 GB, free: 89.35 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001958/1.021, allocations: 0.5323 MB / 1.073 GB, free: 89.04 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001759/1.023, allocations: 367.2 kB / 1.074 GB, free: 88.94 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/1.023, allocations: 0.8438 kB / 1.074 GB, free: 88.94 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.005058/1.028, allocations: 1.072 MB / 1.075 GB, free: 88.59 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001198/1.028, allocations: 192.7 kB / 1.075 GB, free: 88.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/1.028, allocations: 4.531 kB / 1.075 GB, free: 88.36 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002241/1.03, allocations: 344.9 kB / 1.075 GB, free: 88.28 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/1.031, allocations: 137.2 kB / 1.075 GB, free: 88.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002462/1.034, allocations: 0.9361 MB / 1.076 GB, free: 87.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002357/1.036, allocations: 202.4 kB / 1.076 GB, free: 87.55 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000134/1.036, allocations: 33.53 kB / 1.076 GB, free: 87.54 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/1.036, allocations: 5.531 kB / 1.076 GB, free: 87.54 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004848/1.041, allocations: 0.9359 MB / 1.077 GB, free: 87.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/1.041, allocations: 4.812 kB / 1.077 GB, free: 87.24 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002054/1.043, allocations: 325.2 kB / 1.078 GB, free: 87.17 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/1.045, allocations: 137.1 kB / 1.078 GB, free: 87.15 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002443/1.047, allocations: 0.9274 MB / 1.079 GB, free: 86.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002265/1.049, allocations: 172.6 kB / 1.079 GB, free: 86.45 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001654/1.05, allocations: 34.8 kB / 1.079 GB, free: 86.44 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 (55): * Single equations (assignments): 54 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0007698/1.05, allocations: 354 kB / 1.079 GB, free: 86.16 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003291/1.051, allocations: 111.6 kB / 1.079 GB, free: 86.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00714/1.058, allocations: 1.25 MB / 1.081 GB, free: 85.71 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.473e-05/1.058, allocations: 10.28 kB / 1.081 GB, free: 85.71 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/1.058, allocations: 1.719 kB / 1.081 GB, free: 85.71 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.928e-05/1.058, allocations: 2.766 kB / 1.081 GB, free: 85.71 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009713/1.068, allocations: 2.339 MB / 1.083 GB, free: 84.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.875e-05/1.068, allocations: 4.781 kB / 1.083 GB, free: 84.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006394/1.068, allocations: 80.55 kB / 1.083 GB, free: 84.67 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001847/1.07, allocations: 334.3 kB / 1.083 GB, free: 84.58 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.801e-05/1.07, allocations: 13.69 kB / 1.083 GB, free: 84.58 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002419/1.073, allocations: 0.9702 MB / 1.084 GB, free: 83.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.175e-06/1.073, allocations: 10.64 kB / 1.084 GB, free: 83.89 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006875/1.08, allocations: 1.31 MB / 1.086 GB, free: 83.35 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001106/1.081, allocations: 290 kB / 1.086 GB, free: 83.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005355/1.082, allocations: 10.31 kB / 1.086 GB, free: 83.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001944/1.084, allocations: 112.9 kB / 1.086 GB, free: 83.11 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000186/1.084, allocations: 47.28 kB / 1.086 GB, free: 83.09 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001173/1.084, allocations: 29.62 kB / 1.086 GB, free: 83.09 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002067/1.086, allocations: 0.735 MB / 1.087 GB, free: 82.77 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.41e-07/1.086, allocations: 0 / 1.087 GB, free: 82.77 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00255/1.089, allocations: 0.5707 MB / 1.087 GB, free: 82.68 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (38): * Single equations (assignments): 33 * 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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.001112/1.09, allocations: 373.9 kB / 1.088 GB, free: 82.54 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006139/1.096, allocations: 1.212 MB / 1.089 GB, free: 82.21 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.124e-05/1.096, allocations: 0 / 1.089 GB, free: 82.21 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001914/1.098, allocations: 391.5 kB / 1.089 GB, free: 82.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004774/1.103, allocations: 0.524 MB / 1.09 GB, free: 81.96 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009529/1.112, allocations: 2.514 MB / 1.092 GB, free: 80.64 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008542/1.113, allocations: 1.066 MB / 1.093 GB, free: 79.91 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001875/1.115, allocations: 241.7 kB / 1.093 GB, free: 79.85 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003186/1.115, allocations: 80.7 kB / 1.094 GB, free: 79.84 MB / 0.6823 GB Notification: Performance of SimCode: time 1.052e-06/1.115, allocations: 0 / 1.094 GB, free: 79.84 MB / 0.6823 GB Notification: Performance of Templates: time 0.0757/1.191, allocations: 23.78 MB / 1.117 GB, free: 69.5 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)