Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.41/1.41, allocations: 252 MB / 268 MB, free: 10.88 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.0009067/0.0009067, allocations: 176.5 kB / 327.6 MB, free: 2.125 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.604/1.604, allocations: 205.4 MB / 0.5786 GB, free: 20.14 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.0007957/0.0007958, allocations: 89.59 kB / 0.6832 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003592/0.0003594, allocations: 11.81 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2114, allocations: 106.3 MB / 0.9014 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.05226/0.2637, allocations: 73.48 MB / 0.9732 GB, free: 5.836 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02099/0.2847, allocations: 14.88 MB / 0.9877 GB, free: 6.922 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002933/0.2877, allocations: 55.62 kB / 0.9878 GB, free: 6.867 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002549/0.2903, allocations: 0.6721 MB / 0.9884 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.01013/0.3004, allocations: 2.372 MB / 0.9908 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003883/0.3043, allocations: 1.236 MB / 0.992 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.008115/0.3124, allocations: 5.529 MB / 0.9974 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002199/0.3147, allocations: 1.135 MB / 0.9985 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003242/0.3179, allocations: 1.345 MB / 0.9998 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002007/0.32, allocations: 1.147 MB / 1.001 GB, free: 9.371 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001994/0.3202, allocations: 56 kB / 1.001 GB, free: 9.316 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003323/0.3235, allocations: 1.243 MB / 1.002 GB, free: 8.07 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0003832/0.3239, allocations: 286.6 kB / 1.002 GB, free: 7.789 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001154/0.3251, allocations: 0.7984 MB / 1.003 GB, free: 6.98 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.003102/0.3282, allocations: 2.143 MB / 1.005 GB, free: 4.832 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.3282, allocations: 0 / 1.005 GB, free: 4.832 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3282, allocations: 0 / 1.005 GB, free: 4.832 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.876e-05/0.3283, allocations: 0 / 1.005 GB, free: 4.832 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.003669/0.3319, allocations: 1.787 MB / 1.007 GB, free: 2.98 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.332, allocations: 8.031 kB / 1.007 GB, free: 2.973 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007813/0.3328, allocations: 242.8 kB / 1.007 GB, free: 2.734 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002619/0.3354, allocations: 1.485 MB / 1.009 GB, free: 1.191 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.619e-05/0.3355, allocations: 86 kB / 1.009 GB, free: 1.109 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.3356, allocations: 100 kB / 1.009 GB, free: 1.012 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002077/0.3377, allocations: 1.116 MB / 1.01 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.463e-05/0.3378, allocations: 4 kB / 1.01 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-05/0.3379, allocations: 36 kB / 1.01 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.712e-05/0.3379, allocations: 24 kB / 1.01 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002071/0.34, allocations: 0.9407 MB / 1.011 GB, free: 14.86 MB / 0.6667 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.006532/0.3465, allocations: 4.907 MB / 1.016 GB, free: 9.66 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/0.348, allocations: 0.6396 MB / 1.016 GB, free: 9.008 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007638/0.3488, allocations: 372.2 kB / 1.017 GB, free: 8.645 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007409/0.3496, allocations: 0.8277 MB / 1.018 GB, free: 7.633 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/0.3496, allocations: 51.06 kB / 1.018 GB, free: 7.574 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=61): time 3.076e-06/0.3496, allocations: 0 / 1.018 GB, free: 7.574 MB / 0.6667 GB Notification: Performance of matching and sorting (n=61): time 0.007626/0.3573, allocations: 1.892 MB / 1.019 GB, free: 5.652 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.3573, allocations: 55.97 kB / 1.02 GB, free: 5.586 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002023/0.3594, allocations: 1.21 MB / 1.021 GB, free: 4.359 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001317/0.3595, allocations: 41.7 kB / 1.021 GB, free: 4.312 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005442/0.3601, allocations: 0.6064 MB / 1.021 GB, free: 3.699 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002314/0.3603, allocations: 216.9 kB / 1.022 GB, free: 3.484 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-05/0.3604, allocations: 12 kB / 1.022 GB, free: 3.473 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.3605, allocations: 334 kB / 1.022 GB, free: 3.141 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007022/0.3612, allocations: 309.8 kB / 1.022 GB, free: 2.84 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000856/0.3621, allocations: 0.5136 MB / 1.023 GB, free: 2.246 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001509/0.3636, allocations: 0.7558 MB / 1.023 GB, free: 1.441 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.3637, allocations: 0 / 1.023 GB, free: 1.441 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004963/0.3686, allocations: 1.406 MB / 1.025 GB, free: 24 kB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001983/0.3688, allocations: 198.2 kB / 1.025 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.3689, allocations: 4 kB / 1.025 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006664/0.3695, allocations: 152.7 kB / 1.025 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006801/0.3702, allocations: 163.8 kB / 1.025 GB, free: 15.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009223/0.3712, allocations: 0.72 MB / 1.026 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/0.3726, allocations: 178 kB / 1.026 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.076e-05/0.3727, allocations: 35.98 kB / 1.026 GB, free: 14.51 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.888e-06/0.3727, allocations: 4 kB / 1.026 GB, free: 14.5 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004473/0.3772, allocations: 1.253 MB / 1.027 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.3772, allocations: 4 kB / 1.027 GB, free: 13.24 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005225/0.3778, allocations: 153 kB / 1.028 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006211/0.3784, allocations: 163.8 kB / 1.028 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008296/0.3792, allocations: 0.7123 MB / 1.028 GB, free: 12.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/0.3806, allocations: 163.2 kB / 1.029 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.407e-05/0.3807, allocations: 28 kB / 1.029 GB, free: 12 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0007634/0.3815, allocations: 432.2 kB / 1.029 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002411/0.3817, allocations: 134.3 kB / 1.029 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004786/0.3865, allocations: 1.392 MB / 1.03 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-05/0.3865, allocations: 11.98 kB / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.57e-05/0.3866, allocations: 4 kB / 1.031 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004304/0.3909, allocations: 1.236 MB / 1.032 GB, free: 8.742 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007222/0.3981, allocations: 2.738 MB / 1.034 GB, free: 5.891 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.3982, allocations: 7.938 kB / 1.034 GB, free: 5.883 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005386/0.3987, allocations: 120.3 kB / 1.035 GB, free: 5.766 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005205/0.3992, allocations: 144.8 kB / 1.035 GB, free: 5.621 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.131e-05/0.3993, allocations: 19.98 kB / 1.035 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004934/0.4042, allocations: 2.478 MB / 1.037 GB, free: 2.977 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.4043, allocations: 8.062 kB / 1.037 GB, free: 2.969 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005634/0.4099, allocations: 1.848 MB / 1.039 GB, free: 1.051 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008044/0.4107, allocations: 331.1 kB / 1.039 GB, free: 0.707 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003074/0.4111, allocations: 27.98 kB / 1.039 GB, free: 0.6797 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/0.4121, allocations: 83.92 kB / 1.039 GB, free: 0.5977 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/0.4123, allocations: 64.23 kB / 1.039 GB, free: 0.5352 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-05/0.4124, allocations: 31.98 kB / 1.039 GB, free: 0.5039 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001283/0.4137, allocations: 0.866 MB / 1.04 GB, free: 15.64 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.01e-07/0.4137, allocations: 0 / 1.04 GB, free: 15.64 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001922/0.4156, allocations: 0.7135 MB / 1.041 GB, free: 14.92 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009081/0.4165, allocations: 444.4 kB / 1.041 GB, free: 14.48 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002693/0.4193, allocations: 1.176 MB / 1.043 GB, free: 13.31 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.4193, allocations: 0 / 1.043 GB, free: 13.31 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001513/0.4208, allocations: 0.5957 MB / 1.043 GB, free: 12.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004246/0.4251, allocations: 0.7914 MB / 1.044 GB, free: 11.93 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004695/0.4298, allocations: 2.859 MB / 1.047 GB, free: 8.992 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008115/0.4306, allocations: 1.165 MB / 1.048 GB, free: 7.801 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004002/0.431, allocations: 115.4 kB / 1.048 GB, free: 7.688 MB / 0.698 GB Notification: Performance of SimCode: time 9.31e-07/0.431, allocations: 0 / 1.048 GB, free: 7.688 MB / 0.698 GB Notification: Performance of Templates: time 0.4251/0.8561, allocations: 30.7 MB / 1.078 GB, free: 137.9 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)