Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.363/2.363, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001318/0.001318, allocations: 182.8 kB / 326.2 MB, free: 2.883 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.484/2.484, allocations: 205.4 MB / 0.5772 GB, free: 20.8 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000937/0.000937, allocations: 95.78 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004965/0.0004967, allocations: 9.969 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.1998, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.08543/0.2853, allocations: 69.44 MB / 0.9673 GB, free: 11.91 MB / 0.6199 GB Notification: Performance of NFInst.instExpressions: time 0.02996/0.3154, allocations: 14.03 MB / 0.981 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002771/0.3182, allocations: 55.62 kB / 0.9811 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.00303/0.3213, allocations: 0.5666 MB / 0.9816 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.008715/0.33, allocations: 1.972 MB / 0.9835 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004774/0.3349, allocations: 0.9408 MB / 0.9844 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.008884/0.3438, allocations: 4.815 MB / 0.9892 GB, free: 5.492 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002895/0.3467, allocations: 1.08 MB / 0.9902 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004166/0.3509, allocations: 1.275 MB / 0.9915 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002946/0.3539, allocations: 1.085 MB / 0.9925 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.000429/0.3544, allocations: 56 kB / 0.9926 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003936/0.3583, allocations: 0.9199 MB / 0.9935 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0006339/0.359, allocations: 270.7 kB / 0.9937 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0008072/0.3598, allocations: 356.9 kB / 0.9941 GB, free: 424 kB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004496/0.3644, allocations: 2.069 MB / 0.9961 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.3644, allocations: 8 kB / 0.9961 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.726e-06/0.3644, allocations: 0 / 0.9961 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.541e-05/0.3645, allocations: 0 / 0.9961 GB, free: 14.33 MB / 0.6511 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.005719/0.3702, allocations: 1.799 MB / 0.9978 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.699e-05/0.3703, allocations: 12.03 kB / 0.9979 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001492/0.3718, allocations: 238.8 kB / 0.9981 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004297/0.3761, allocations: 1.436 MB / 0.9995 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.975e-05/0.3763, allocations: 78 kB / 0.9996 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002805/0.3766, allocations: 104 kB / 0.9997 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00344/0.38, allocations: 1.108 MB / 1.001 GB, free: 9.41 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.783e-05/0.3801, allocations: 0 / 1.001 GB, free: 9.41 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001481/0.3803, allocations: 40 kB / 1.001 GB, free: 9.371 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-05/0.3804, allocations: 35.94 kB / 1.001 GB, free: 9.336 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003502/0.3839, allocations: 0.9251 MB / 1.002 GB, free: 8.41 MB / 0.6511 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.01043/0.3944, allocations: 4.907 MB / 1.007 GB, free: 3.215 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002601/0.397, allocations: 0.6454 MB / 1.007 GB, free: 2.566 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001317/0.3983, allocations: 362.3 kB / 1.007 GB, free: 2.211 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009287/0.3993, allocations: 0.8238 MB / 1.008 GB, free: 1.199 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.017e-05/0.3994, allocations: 35.12 kB / 1.008 GB, free: 1.156 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=61): time 3.747e-06/0.3994, allocations: 0 / 1.008 GB, free: 1.156 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61): time 0.01392/0.4133, allocations: 1.892 MB / 1.01 GB, free: 15.23 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.4134, allocations: 63.97 kB / 1.01 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002667/0.4161, allocations: 1.194 MB / 1.011 GB, free: 13.95 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001833/0.4163, allocations: 41.7 kB / 1.011 GB, free: 13.9 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007865/0.4171, allocations: 0.5987 MB / 1.012 GB, free: 13.3 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003216/0.4174, allocations: 216.9 kB / 1.012 GB, free: 13.08 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.672e-05/0.4175, allocations: 12 kB / 1.012 GB, free: 13.07 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.4177, allocations: 334 kB / 1.013 GB, free: 12.74 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001233/0.4189, allocations: 297.8 kB / 1.013 GB, free: 12.45 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001498/0.4204, allocations: 0.5173 MB / 1.013 GB, free: 11.85 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00135/0.4218, allocations: 355 kB / 1.014 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.848e-06/0.4218, allocations: 3.938 kB / 1.014 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00887/0.4307, allocations: 1.402 MB / 1.015 GB, free: 10.09 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001845/0.4309, allocations: 194.3 kB / 1.015 GB, free: 9.848 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/0.431, allocations: 7.984 kB / 1.015 GB, free: 9.84 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009999/0.432, allocations: 144.7 kB / 1.015 GB, free: 9.695 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/0.4333, allocations: 179.7 kB / 1.016 GB, free: 9.52 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001404/0.4347, allocations: 0.7161 MB / 1.016 GB, free: 8.777 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002166/0.4369, allocations: 167.1 kB / 1.016 GB, free: 8.613 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001228/0.437, allocations: 35.98 kB / 1.016 GB, free: 8.578 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.4371, allocations: 4 kB / 1.016 GB, free: 8.574 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00824/0.4453, allocations: 1.242 MB / 1.018 GB, free: 7.328 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/0.4454, allocations: 4 kB / 1.018 GB, free: 7.324 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008882/0.4463, allocations: 153.1 kB / 1.018 GB, free: 7.172 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/0.4475, allocations: 163.8 kB / 1.018 GB, free: 7.012 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001355/0.4489, allocations: 0.7239 MB / 1.019 GB, free: 6.262 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00208/0.451, allocations: 167.2 kB / 1.019 GB, free: 6.098 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/0.4511, allocations: 31.98 kB / 1.019 GB, free: 6.066 MB / 0.6667 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.0009634/0.4521, allocations: 412.9 kB / 1.019 GB, free: 5.652 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003515/0.4525, allocations: 142.3 kB / 1.019 GB, free: 5.512 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008483/0.461, allocations: 1.4 MB / 1.021 GB, free: 4.094 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007904/0.4689, allocations: 1.232 MB / 1.022 GB, free: 2.832 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/0.469, allocations: 0 / 1.022 GB, free: 2.832 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009823/0.47, allocations: 323.2 kB / 1.022 GB, free: 2.496 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002722/0.4702, allocations: 12 kB / 1.022 GB, free: 2.484 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001501/0.4717, allocations: 87.81 kB / 1.022 GB, free: 2.398 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001835/0.4719, allocations: 56.42 kB / 1.022 GB, free: 2.344 MB / 0.6667 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005009/0.477, allocations: 1.038 MB / 1.023 GB, free: 1.293 MB / 0.6667 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004494/0.4815, allocations: 1.381 MB / 1.025 GB, free: 15.89 MB / 0.6824 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001233/0.4828, allocations: 344.3 kB / 1.025 GB, free: 15.55 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 0.001943/0.4847, allocations: 0.8418 MB / 1.026 GB, free: 14.71 MB / 0.6824 GB Notification: Performance of Backend: time 6.21e-07/0.4848, allocations: 3.938 kB / 1.026 GB, free: 14.71 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.005675/0.4905, allocations: 1.372 MB / 1.027 GB, free: 13.34 MB / 0.6824 GB Notification: Performance of SimCode: time 0.01025/0.5007, allocations: 3.609 MB / 1.031 GB, free: 9.68 MB / 0.6824 GB Notification: Performance of Templates: time 0.6401/1.141, allocations: 30.74 MB / 1.061 GB, free: 148.8 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)