Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.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.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.563/1.563, allocations: 287.4 MB / 303.2 MB, free: 8.121 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.0009637/0.0009633, allocations: 181.7 kB / 371.8 MB, free: 10.81 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.332/1.332, allocations: 205.4 MB / 0.6305 GB, free: 10.55 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.0007863/0.0007864, allocations: 93.23 kB / 0.7438 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00034/0.00034, allocations: 10.69 kB / 0.8667 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1728, allocations: 115.3 MB / 0.9793 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.05429/0.2271, allocations: 69.44 MB / 1.047 GB, free: 6.539 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.018/0.2452, allocations: 14.08 MB / 1.061 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001866/0.2471, allocations: 55.62 kB / 1.061 GB, free: 8.379 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001811/0.2489, allocations: 0.5627 MB / 1.061 GB, free: 7.812 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.005381/0.2543, allocations: 1.977 MB / 1.063 GB, free: 5.828 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003713/0.258, allocations: 0.9691 MB / 1.064 GB, free: 4.871 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.006962/0.265, allocations: 4.819 MB / 1.069 GB, free: 44 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4352/0.7002, allocations: 1.131 MB / 1.07 GB, free: 33.36 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00317/0.7034, allocations: 1.28 MB / 1.071 GB, free: 33.36 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002122/0.7056, allocations: 1.082 MB / 1.072 GB, free: 33.36 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002361/0.7058, allocations: 56.34 kB / 1.072 GB, free: 33.36 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002828/0.7087, allocations: 0.9227 MB / 1.073 GB, free: 33.36 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000416/0.7091, allocations: 271.9 kB / 1.074 GB, free: 33.36 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0006175/0.7097, allocations: 360 kB / 1.074 GB, free: 33.33 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003469/0.7132, allocations: 2.082 MB / 1.076 GB, free: 33.26 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.7132, allocations: 1.078 kB / 1.076 GB, free: 33.26 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7132, allocations: 3.594 kB / 1.076 GB, free: 33.26 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.934e-05/0.7133, allocations: 0 / 1.076 GB, free: 33.26 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.004156/0.7174, allocations: 1.783 MB / 1.078 GB, free: 32.29 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.7175, allocations: 12.55 kB / 1.078 GB, free: 32.29 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008553/0.7184, allocations: 241.7 kB / 1.078 GB, free: 32.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002626/0.721, allocations: 1.49 MB / 1.079 GB, free: 31.78 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.204e-05/0.7211, allocations: 83.09 kB / 1.08 GB, free: 31.78 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001729/0.7213, allocations: 98.41 kB / 1.08 GB, free: 31.78 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002249/0.7235, allocations: 1.112 MB / 1.081 GB, free: 31.64 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.767e-05/0.7236, allocations: 1.875 kB / 1.081 GB, free: 31.64 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.076e-05/0.7237, allocations: 41.81 kB / 1.081 GB, free: 31.64 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.223e-05/0.7237, allocations: 30.38 kB / 1.081 GB, free: 31.64 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002181/0.7259, allocations: 0.9284 MB / 1.082 GB, free: 31.62 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.006566/0.7325, allocations: 4.915 MB / 1.086 GB, free: 29.42 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/0.7339, allocations: 0.6356 MB / 1.087 GB, free: 29.38 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007218/0.7347, allocations: 368.4 kB / 1.087 GB, free: 29.37 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004983/0.7352, allocations: 0.8288 MB / 1.088 GB, free: 28.43 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.7352, allocations: 40.75 kB / 1.088 GB, free: 28.39 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 3.266e-06/0.7352, allocations: 0 / 1.088 GB, free: 28.39 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.007378/0.7426, allocations: 1.896 MB / 1.09 GB, free: 28.11 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.492e-05/0.7427, allocations: 57.31 kB / 1.09 GB, free: 28.05 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001921/0.7446, allocations: 1.197 MB / 1.091 GB, free: 27.89 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001204/0.7447, allocations: 40.45 kB / 1.091 GB, free: 27.86 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004163/0.7452, allocations: 0.6014 MB / 1.092 GB, free: 27.65 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001981/0.7454, allocations: 222 kB / 1.092 GB, free: 27.51 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.26e-05/0.7454, allocations: 16.38 kB / 1.092 GB, free: 27.51 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.831e-05/0.7455, allocations: 331.2 kB / 1.093 GB, free: 27.21 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006452/0.7461, allocations: 295.7 kB / 1.093 GB, free: 27.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007994/0.7469, allocations: 0.511 MB / 1.093 GB, free: 26.98 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/0.7483, allocations: 0.7378 MB / 1.094 GB, free: 26.84 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.7483, allocations: 1 kB / 1.094 GB, free: 26.84 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005063/0.7533, allocations: 1.399 MB / 1.095 GB, free: 26.68 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.693e-05/0.7535, allocations: 198 kB / 1.096 GB, free: 26.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.7535, allocations: 4.031 kB / 1.096 GB, free: 26.46 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000606/0.7541, allocations: 148.7 kB / 1.096 GB, free: 26.45 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006419/0.7547, allocations: 171.2 kB / 1.096 GB, free: 26.45 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008175/0.7556, allocations: 0.7149 MB / 1.097 GB, free: 25.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001477/0.7571, allocations: 170.1 kB / 1.097 GB, free: 25.87 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.762e-05/0.7572, allocations: 31.09 kB / 1.097 GB, free: 25.87 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.486e-06/0.7572, allocations: 3.438 kB / 1.097 GB, free: 25.87 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00456/0.7617, allocations: 1.253 MB / 1.098 GB, free: 25.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.7618, allocations: 3.406 kB / 1.098 GB, free: 25.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004968/0.7623, allocations: 150.8 kB / 1.098 GB, free: 25.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006016/0.7629, allocations: 165.3 kB / 1.098 GB, free: 25.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007211/0.7636, allocations: 0.7189 MB / 1.099 GB, free: 25.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001367/0.765, allocations: 163.7 kB / 1.099 GB, free: 25.23 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.274e-05/0.7651, allocations: 33.25 kB / 1.099 GB, free: 25.23 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.000735/0.7658, allocations: 424.1 kB / 1.1 GB, free: 25.03 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001937/0.766, allocations: 137.7 kB / 1.1 GB, free: 24.96 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004559/0.7706, allocations: 1.391 MB / 1.101 GB, free: 24.83 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004041/0.7746, allocations: 1.229 MB / 1.102 GB, free: 24.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.7746, allocations: 4 kB / 1.102 GB, free: 24.61 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007613/0.7754, allocations: 330.3 kB / 1.103 GB, free: 24.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001671/0.7756, allocations: 12.44 kB / 1.103 GB, free: 24.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008094/0.7764, allocations: 88.06 kB / 1.103 GB, free: 24.43 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.7765, allocations: 53.11 kB / 1.103 GB, free: 24.42 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002613/0.7791, allocations: 1.041 MB / 1.104 GB, free: 24.26 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002208/0.7814, allocations: 1.392 MB / 1.105 GB, free: 23.95 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006499/0.782, allocations: 343.4 kB / 1.106 GB, free: 23.94 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001285/0.7833, allocations: 0.834 MB / 1.106 GB, free: 23.83 MB / 0.6823 GB Notification: Performance of Backend: time 4.71e-07/0.7833, allocations: 3.375 kB / 1.106 GB, free: 23.83 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003608/0.7869, allocations: 1.393 MB / 1.108 GB, free: 23.64 MB / 0.6823 GB Notification: Performance of SimCode: time 0.005437/0.7924, allocations: 3.597 MB / 1.111 GB, free: 21.8 MB / 0.6823 GB Notification: Performance of Templates: time 0.04574/0.8382, allocations: 31.05 MB / 1.142 GB, free: 8.199 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)