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.832/2.832, allocations: 287.3 MB / 302.3 MB, free: 8.359 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.002168/0.002168, allocations: 179.5 kB / 370.8 MB, free: 10.85 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.138/2.138, allocations: 205.4 MB / 0.6295 GB, free: 10.57 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.001144/0.001144, allocations: 92.72 kB / 0.7428 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005034/0.0005036, allocations: 13.11 kB / 0.8656 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2627, allocations: 115.3 MB / 0.9782 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.07736/0.3401, allocations: 51.35 MB / 1.028 GB, free: 8.883 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02392/0.3641, allocations: 10.22 MB / 1.038 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002531/0.3667, allocations: 47.62 kB / 1.038 GB, free: 14.6 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003432/0.3702, allocations: 0.6297 MB / 1.039 GB, free: 13.96 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.008634/0.3789, allocations: 1.891 MB / 1.041 GB, free: 12.07 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.006252/0.3852, allocations: 1.329 MB / 1.042 GB, free: 10.77 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.005205/0.3904, allocations: 1.851 MB / 1.044 GB, free: 8.91 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002082/0.3925, allocations: 0.8056 MB / 1.045 GB, free: 8.082 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003463/0.396, allocations: 0.9886 MB / 1.046 GB, free: 7.09 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001786/0.3979, allocations: 0.6027 MB / 1.046 GB, free: 6.484 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0003559/0.3983, allocations: 44 kB / 1.046 GB, free: 6.441 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003831/0.4021, allocations: 1.006 MB / 1.047 GB, free: 5.434 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0005596/0.4027, allocations: 207.1 kB / 1.047 GB, free: 5.23 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0006316/0.4034, allocations: 277.1 kB / 1.048 GB, free: 4.953 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.003878/0.4073, allocations: 1.598 MB / 1.049 GB, free: 3.352 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.4073, allocations: 0 / 1.049 GB, free: 3.352 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.534e-06/0.4073, allocations: 0 / 1.049 GB, free: 3.352 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.315e-05/0.4074, allocations: 0 / 1.049 GB, free: 3.352 MB / 0.6667 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.004518/0.4119, allocations: 1.497 MB / 1.051 GB, free: 1.797 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.412, allocations: 8.031 kB / 1.051 GB, free: 1.789 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004023/0.416, allocations: 465.9 kB / 1.051 GB, free: 1.332 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003237/0.4193, allocations: 1.066 MB / 1.052 GB, free: 212 kB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006819/0.42, allocations: 129.9 kB / 1.052 GB, free: 84 kB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000249/0.4203, allocations: 87.98 kB / 1.052 GB, free: 15.99 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003564/0.4239, allocations: 0.9994 MB / 1.053 GB, free: 14.96 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.358e-05/0.424, allocations: 0 / 1.053 GB, free: 14.96 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001367/0.4241, allocations: 32 kB / 1.053 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.881e-05/0.4241, allocations: 23.98 kB / 1.054 GB, free: 14.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004412/0.4286, allocations: 0.9251 MB / 1.054 GB, free: 13.98 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.01122/0.4398, allocations: 4.662 MB / 1.059 GB, free: 9.004 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006639/0.4465, allocations: 0.9461 MB / 1.06 GB, free: 8.047 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001007/0.4476, allocations: 0.9029 MB / 1.061 GB, free: 6.941 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.907e-05/0.4476, allocations: 43 kB / 1.061 GB, free: 6.891 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=48): time 3.576e-06/0.4477, allocations: 0 / 1.061 GB, free: 6.891 MB / 0.6823 GB Notification: Performance of matching and sorting (n=48): time 0.01673/0.4644, allocations: 2.209 MB / 1.063 GB, free: 4.652 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.595e-05/0.4645, allocations: 55.84 kB / 1.063 GB, free: 4.586 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002606/0.4671, allocations: 1.067 MB / 1.064 GB, free: 3.504 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001616/0.4673, allocations: 37.7 kB / 1.064 GB, free: 3.461 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006482/0.468, allocations: 0.508 MB / 1.065 GB, free: 2.949 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002559/0.4683, allocations: 173.5 kB / 1.065 GB, free: 2.777 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.493e-05/0.4683, allocations: 12 kB / 1.065 GB, free: 2.766 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.4685, allocations: 333.9 kB / 1.065 GB, free: 2.434 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001763/0.4703, allocations: 328.9 kB / 1.065 GB, free: 2.113 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001984/0.4723, allocations: 0.5352 MB / 1.066 GB, free: 1.504 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001856/0.4742, allocations: 368.6 kB / 1.066 GB, free: 1.141 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.4742, allocations: 0 / 1.066 GB, free: 1.141 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.005208/0.4794, allocations: 1.061 MB / 1.067 GB, free: 72 kB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.6303/1.11, allocations: 1.406 MB / 1.069 GB, free: 89.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.188e-05/1.11, allocations: 3.5 kB / 1.069 GB, free: 89.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002537/1.112, allocations: 330.8 kB / 1.069 GB, free: 89.27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/1.114, allocations: 137.7 kB / 1.069 GB, free: 89.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002675/1.116, allocations: 0.9403 MB / 1.07 GB, free: 88.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002447/1.119, allocations: 197.5 kB / 1.07 GB, free: 88.75 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001427/1.119, allocations: 32.41 kB / 1.07 GB, free: 88.75 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/1.119, allocations: 8.375 kB / 1.07 GB, free: 88.75 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004721/1.124, allocations: 0.9388 MB / 1.071 GB, free: 88.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/1.124, allocations: 3.438 kB / 1.071 GB, free: 88.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001999/1.126, allocations: 325 kB / 1.072 GB, free: 88.69 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/1.127, allocations: 136.8 kB / 1.072 GB, free: 88.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002424/1.129, allocations: 0.9334 MB / 1.073 GB, free: 88.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002187/1.132, allocations: 172.2 kB / 1.073 GB, free: 88.03 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/1.132, allocations: 34.08 kB / 1.073 GB, free: 88.02 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.0007465/1.133, allocations: 352.4 kB / 1.073 GB, free: 87.74 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003059/1.133, allocations: 114.5 kB / 1.073 GB, free: 87.73 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007365/1.14, allocations: 1.253 MB / 1.074 GB, free: 87.39 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.116e-05/1.14, allocations: 11.27 kB / 1.074 GB, free: 87.39 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/1.14, allocations: 0 / 1.074 GB, free: 87.39 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-05/1.14, allocations: 3.578 kB / 1.074 GB, free: 87.39 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01028/1.151, allocations: 2.354 MB / 1.077 GB, free: 86.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.132e-05/1.151, allocations: 3.125 kB / 1.077 GB, free: 86.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006934/1.151, allocations: 79.33 kB / 1.077 GB, free: 86.39 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002007/1.153, allocations: 329.5 kB / 1.077 GB, free: 86.32 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001166/1.154, allocations: 13.22 kB / 1.077 GB, free: 86.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002545/1.156, allocations: 0.9716 MB / 1.078 GB, free: 85.64 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.386e-06/1.156, allocations: 11.41 kB / 1.078 GB, free: 85.63 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007308/1.164, allocations: 1.432 MB / 1.08 GB, free: 84.92 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009374/1.165, allocations: 296.3 kB / 1.08 GB, free: 84.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003189/1.165, allocations: 13.58 kB / 1.08 GB, free: 84.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001924/1.167, allocations: 111.4 kB / 1.08 GB, free: 84.69 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001702/1.167, allocations: 41.75 kB / 1.08 GB, free: 84.68 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001106/1.167, allocations: 25.06 kB / 1.08 GB, free: 84.67 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002102/1.169, allocations: 0.7513 MB / 1.081 GB, free: 84.35 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8.22e-07/1.169, allocations: 0 / 1.081 GB, free: 84.35 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002765/1.172, allocations: 0.575 MB / 1.081 GB, free: 84.26 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.001189/1.173, allocations: 393.2 kB / 1.082 GB, free: 84.12 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.007222/1.181, allocations: 1.205 MB / 1.083 GB, free: 83.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.183e-05/1.181, allocations: 9.453 kB / 1.083 GB, free: 83.79 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001932/1.183, allocations: 391.2 kB / 1.083 GB, free: 83.68 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004648/1.187, allocations: 0.5097 MB / 1.084 GB, free: 83.56 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009491/1.197, allocations: 2.509 MB / 1.086 GB, free: 82.23 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007914/1.198, allocations: 1.089 MB / 1.087 GB, free: 81.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001908/1.2, allocations: 240.4 kB / 1.087 GB, free: 81.45 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000346/1.2, allocations: 82.25 kB / 1.088 GB, free: 81.43 MB / 0.6823 GB Notification: Performance of SimCode: time 1.042e-06/1.2, allocations: 0 / 1.088 GB, free: 81.43 MB / 0.6823 GB Notification: Performance of Templates: time 0.06723/1.267, allocations: 24.08 MB / 1.111 GB, free: 72.15 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)