Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.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.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.417/1.417, allocations: 251.5 MB / 267.4 MB, free: 11.1 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.0009493/0.0009493, allocations: 182.4 kB / 326.5 MB, free: 2.68 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.765/1.765, allocations: 205 MB / 0.5766 GB, free: 20.98 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.0009115/0.0009113, allocations: 97.89 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003581/0.0003582, allocations: 12.16 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.214, allocations: 105.4 MB / 0.8967 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.04086/0.2549, allocations: 60.56 MB / 0.9559 GB, free: 7.422 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01418/0.2691, allocations: 11.93 MB / 0.9675 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002343/0.2715, allocations: 55.62 kB / 0.9676 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002125/0.2737, allocations: 0.5477 MB / 0.9681 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.005899/0.2796, allocations: 1.791 MB / 0.9699 GB, free: 9.055 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003254/0.2829, allocations: 1.094 MB / 0.9709 GB, free: 7.969 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.005088/0.288, allocations: 3.888 MB / 0.9747 GB, free: 4.066 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001515/0.2895, allocations: 0.8884 MB / 0.9756 GB, free: 3.145 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002531/0.2921, allocations: 1.124 MB / 0.9767 GB, free: 2.016 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001375/0.2935, allocations: 0.8708 MB / 0.9775 GB, free: 1.141 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001401/0.2936, allocations: 40 kB / 0.9776 GB, free: 1.102 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00271/0.2963, allocations: 1.314 MB / 0.9789 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002774/0.2966, allocations: 218.9 kB / 0.9791 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0007982/0.2974, allocations: 0.6099 MB / 0.9797 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002411/0.2998, allocations: 1.695 MB / 0.9813 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2999, allocations: 0 / 0.9813 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.903e-06/0.2999, allocations: 0 / 0.9813 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.954e-05/0.2999, allocations: 0 / 0.9813 GB, free: 13.26 MB / 0.6355 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.002814/0.3027, allocations: 1.493 MB / 0.9828 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.3028, allocations: 16.03 kB / 0.9828 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002175/0.305, allocations: 470.8 kB / 0.9832 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002272/0.3073, allocations: 1.14 MB / 0.9844 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003784/0.3076, allocations: 137.9 kB / 0.9845 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.3078, allocations: 83.94 kB / 0.9846 GB, free: 9.812 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002061/0.3098, allocations: 1.003 MB / 0.9856 GB, free: 8.773 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.3099, allocations: 0 / 0.9856 GB, free: 8.773 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.661e-05/0.31, allocations: 32 kB / 0.9856 GB, free: 8.742 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.89e-05/0.31, allocations: 20 kB / 0.9856 GB, free: 8.723 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002347/0.3123, allocations: 0.9368 MB / 0.9865 GB, free: 7.781 MB / 0.6355 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.006737/0.3191, allocations: 4.648 MB / 0.9911 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003541/0.3227, allocations: 0.95 MB / 0.992 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007902/0.3235, allocations: 340.6 kB / 0.9923 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000693/0.3242, allocations: 0.9068 MB / 0.9932 GB, free: 428 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.3242, allocations: 39 kB / 0.9932 GB, free: 380 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=48): time 2.755e-06/0.3242, allocations: 0 / 0.9932 GB, free: 380 kB / 0.6355 GB Notification: Performance of matching and sorting (n=48): time 0.009079/0.3333, allocations: 2.224 MB / 0.9954 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.3334, allocations: 59.78 kB / 0.9955 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001701/0.3351, allocations: 1.055 MB / 0.9965 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001137/0.3352, allocations: 37.7 kB / 0.9965 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004508/0.3357, allocations: 0.5197 MB / 0.997 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001709/0.3359, allocations: 165.5 kB / 0.9972 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.048e-05/0.3359, allocations: 53.69 kB / 0.9972 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3361, allocations: 334 kB / 0.9976 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000909/0.337, allocations: 332.9 kB / 0.9979 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/0.3381, allocations: 0.5352 MB / 0.9984 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001703/0.3398, allocations: 0.7363 MB / 0.9991 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.3398, allocations: 4 kB / 0.9991 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003837/0.3437, allocations: 1.249 MB / 1 GB, free: 8.871 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001542/0.3438, allocations: 196.4 kB / 1.001 GB, free: 8.629 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.3439, allocations: 4 kB / 1.001 GB, free: 8.625 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001276/0.3451, allocations: 332.6 kB / 1.001 GB, free: 8.297 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005656/0.3457, allocations: 135.8 kB / 1.001 GB, free: 8.164 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001451/0.3472, allocations: 0.9436 MB / 1.002 GB, free: 7.195 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001426/0.3486, allocations: 191.2 kB / 1.002 GB, free: 7.008 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.581e-05/0.3487, allocations: 31.97 kB / 1.002 GB, free: 6.977 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.3487, allocations: 4 kB / 1.002 GB, free: 6.973 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003319/0.3521, allocations: 1.108 MB / 1.003 GB, free: 5.859 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.3521, allocations: 4 kB / 1.003 GB, free: 5.855 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001092/0.3532, allocations: 321 kB / 1.004 GB, free: 5.539 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005573/0.3538, allocations: 139.8 kB / 1.004 GB, free: 5.402 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001398/0.3552, allocations: 0.9327 MB / 1.005 GB, free: 4.445 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/0.3565, allocations: 175.3 kB / 1.005 GB, free: 4.273 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.989e-05/0.3566, allocations: 31.92 kB / 1.005 GB, free: 4.242 MB / 0.6511 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 (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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0005514/0.3571, allocations: 357 kB / 1.005 GB, free: 3.883 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002016/0.3573, allocations: 110.6 kB / 1.005 GB, free: 3.773 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00382/0.3612, allocations: 1.256 MB / 1.006 GB, free: 2.496 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.304e-05/0.3612, allocations: 8 kB / 1.006 GB, free: 2.488 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.3612, allocations: 0 / 1.006 GB, free: 2.488 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.3612, allocations: 3.984 kB / 1.006 GB, free: 2.484 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005294/0.3665, allocations: 2.351 MB / 1.009 GB, free: 52 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/0.3665, allocations: 0 / 1.009 GB, free: 52 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003742/0.3669, allocations: 87.92 kB / 1.009 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001062/0.368, allocations: 332.6 kB / 1.009 GB, free: 15.63 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.391e-05/0.3681, allocations: 11.98 kB / 1.009 GB, free: 15.62 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001474/0.3695, allocations: 0.9697 MB / 1.01 GB, free: 14.62 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3696, allocations: 4.031 kB / 1.01 GB, free: 14.62 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003839/0.3734, allocations: 1.318 MB / 1.011 GB, free: 13.25 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005923/0.374, allocations: 275.4 kB / 1.012 GB, free: 12.96 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001497/0.3742, allocations: 16 kB / 1.012 GB, free: 12.95 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008869/0.3751, allocations: 115.8 kB / 1.012 GB, free: 12.83 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.3752, allocations: 39.27 kB / 1.012 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.522e-05/0.3752, allocations: 23.98 kB / 1.012 GB, free: 12.77 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001126/0.3764, allocations: 0.7508 MB / 1.013 GB, free: 12.02 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3764, allocations: 0 / 1.013 GB, free: 12.02 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001417/0.3778, allocations: 0.5614 MB / 1.013 GB, free: 11.45 MB / 0.6667 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 (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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007395/0.3786, allocations: 376.8 kB / 1.013 GB, free: 11.09 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003458/0.382, allocations: 1.225 MB / 1.015 GB, free: 9.863 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.382, allocations: 0 / 1.015 GB, free: 9.863 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0009567/0.383, allocations: 394.9 kB / 1.015 GB, free: 9.477 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002827/0.3858, allocations: 0.5361 MB / 1.016 GB, free: 8.949 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005501/0.3914, allocations: 2.567 MB / 1.018 GB, free: 6.32 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006117/0.392, allocations: 1.066 MB / 1.019 GB, free: 5.223 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002933/0.3923, allocations: 87.41 kB / 1.019 GB, free: 5.137 MB / 0.6667 GB Notification: Performance of SimCode: time 7.12e-07/0.3923, allocations: 0 / 1.019 GB, free: 5.137 MB / 0.6667 GB Notification: Performance of Templates: time 0.03337/0.4257, allocations: 24.11 MB / 1.043 GB, free: 13.15 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)