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.359/1.359, allocations: 252 MB / 267.6 MB, free: 10.95 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.001044/0.001044, allocations: 190 kB / 327.3 MB, free: 2.188 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.878/1.878, allocations: 205.4 MB / 0.5783 GB, free: 20.52 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.0008097/0.0008097, allocations: 85.11 kB / 0.6829 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003616/0.0003616, allocations: 12.19 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2491, allocations: 106.3 MB / 0.9008 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.04032/0.2895, allocations: 56.56 MB / 0.9561 GB, free: 7.559 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01468/0.3043, allocations: 11.09 MB / 0.9669 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002476/0.3068, allocations: 51.62 kB / 0.9669 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001872/0.3087, allocations: 464.9 kB / 0.9674 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.005526/0.3142, allocations: 1.518 MB / 0.9689 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003073/0.3173, allocations: 0.8712 MB / 0.9697 GB, free: 9.547 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.005095/0.3224, allocations: 3.374 MB / 0.973 GB, free: 6.16 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001512/0.324, allocations: 0.7899 MB / 0.9738 GB, free: 5.344 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002511/0.3265, allocations: 1.038 MB / 0.9748 GB, free: 4.301 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001344/0.3278, allocations: 0.8127 MB / 0.9756 GB, free: 3.484 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001219/0.328, allocations: 44 kB / 0.9756 GB, free: 3.441 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002864/0.3308, allocations: 1.103 MB / 0.9767 GB, free: 2.336 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002446/0.3311, allocations: 203 kB / 0.9769 GB, free: 2.137 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0004463/0.3316, allocations: 285 kB / 0.9772 GB, free: 1.852 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002221/0.3338, allocations: 1.637 MB / 0.9788 GB, free: 216 kB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.3338, allocations: 0 / 0.9788 GB, free: 216 kB / 0.6198 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3338, allocations: 0 / 0.9788 GB, free: 216 kB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.37e-05/0.3338, allocations: 0 / 0.9788 GB, free: 216 kB / 0.6198 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.003051/0.3369, allocations: 1.505 MB / 0.9802 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.3369, allocations: 8.031 kB / 0.9802 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002207/0.3392, allocations: 481.9 kB / 0.9807 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002345/0.3415, allocations: 1.098 MB / 0.9818 GB, free: 13.01 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000388/0.3419, allocations: 129.9 kB / 0.9819 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.3421, allocations: 84 kB / 0.982 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002219/0.3443, allocations: 0.9956 MB / 0.983 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.3443, allocations: 3.938 kB / 0.983 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.3444, allocations: 32 kB / 0.983 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.106e-05/0.3445, allocations: 20 kB / 0.983 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002477/0.3469, allocations: 0.9367 MB / 0.9839 GB, free: 10.78 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.006973/0.3539, allocations: 4.652 MB / 0.9885 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003572/0.3575, allocations: 0.9403 MB / 0.9894 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000812/0.3583, allocations: 344.9 kB / 0.9897 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007368/0.3591, allocations: 0.9068 MB / 0.9906 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.355e-05/0.3591, allocations: 39 kB / 0.9906 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=48): time 2.334e-06/0.3592, allocations: 0 / 0.9906 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48): time 0.009081/0.3682, allocations: 2.209 MB / 0.9928 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.6e-05/0.3683, allocations: 59.8 kB / 0.9928 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001789/0.3701, allocations: 1.051 MB / 0.9939 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001139/0.3703, allocations: 41.7 kB / 0.9939 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000568/0.3708, allocations: 0.5119 MB / 0.9944 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001985/0.371, allocations: 169.5 kB / 0.9946 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.74e-05/0.3711, allocations: 12 kB / 0.9946 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001786/0.3713, allocations: 330 kB / 0.9949 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009502/0.3722, allocations: 328.9 kB / 0.9952 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001143/0.3734, allocations: 0.5313 MB / 0.9957 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009791/0.3744, allocations: 368.6 kB / 0.9961 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.3744, allocations: 0 / 0.9961 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002956/0.3774, allocations: 1.069 MB / 0.9971 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001704/0.3775, allocations: 200.3 kB / 0.9973 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.3776, allocations: 4 kB / 0.9973 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001381/0.3789, allocations: 332.6 kB / 0.9976 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005839/0.3795, allocations: 127.8 kB / 0.9978 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00158/0.3811, allocations: 0.9414 MB / 0.9987 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001475/0.3826, allocations: 199.2 kB / 0.9989 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-05/0.3827, allocations: 31.98 kB / 0.9989 GB, free: 10.65 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.3827, allocations: 4 kB / 0.9989 GB, free: 10.65 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002573/0.3853, allocations: 0.9399 MB / 0.9998 GB, free: 9.707 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.3853, allocations: 4 kB / 0.9998 GB, free: 9.703 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001135/0.3865, allocations: 336.9 kB / 1 GB, free: 9.371 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005881/0.3871, allocations: 135.8 kB / 1 GB, free: 9.238 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001502/0.3886, allocations: 0.927 MB / 1.001 GB, free: 8.285 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/0.3899, allocations: 175.3 kB / 1.001 GB, free: 8.113 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.748e-05/0.39, allocations: 31.92 kB / 1.001 GB, free: 8.082 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 (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.0006753/0.3907, allocations: 364.9 kB / 1.002 GB, free: 7.715 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002042/0.3909, allocations: 110.6 kB / 1.002 GB, free: 7.605 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003958/0.3949, allocations: 1.245 MB / 1.003 GB, free: 6.348 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.49e-05/0.3949, allocations: 4 kB / 1.003 GB, free: 6.344 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.3949, allocations: 0 / 1.003 GB, free: 6.344 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-05/0.3949, allocations: 15.88 kB / 1.003 GB, free: 6.328 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00546/0.4004, allocations: 2.335 MB / 1.005 GB, free: 3.906 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/0.4004, allocations: 7.953 kB / 1.005 GB, free: 3.898 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003293/0.4008, allocations: 75.89 kB / 1.005 GB, free: 3.824 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001105/0.4019, allocations: 328.9 kB / 1.006 GB, free: 3.5 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.03e-05/0.4019, allocations: 11.98 kB / 1.006 GB, free: 3.488 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001533/0.4035, allocations: 0.9703 MB / 1.007 GB, free: 2.492 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.4035, allocations: 4 kB / 1.007 GB, free: 2.488 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003864/0.4074, allocations: 1.326 MB / 1.008 GB, free: 1.113 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005982/0.408, allocations: 279.5 kB / 1.008 GB, free: 0.8203 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/0.4081, allocations: 15.98 kB / 1.008 GB, free: 0.8047 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000903/0.409, allocations: 119.7 kB / 1.008 GB, free: 0.6875 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.651e-05/0.4091, allocations: 39.28 kB / 1.008 GB, free: 0.6523 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.996e-05/0.4092, allocations: 23.98 kB / 1.008 GB, free: 0.6289 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0013/0.4105, allocations: 0.743 MB / 1.009 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.21e-07/0.4105, allocations: 0 / 1.009 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001597/0.4121, allocations: 0.5537 MB / 1.01 GB, free: 15.32 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 (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.0007491/0.4129, allocations: 373.6 kB / 1.01 GB, free: 14.96 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003386/0.4163, allocations: 1.214 MB / 1.011 GB, free: 13.74 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.4163, allocations: 0 / 1.011 GB, free: 13.74 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0009741/0.4173, allocations: 395.1 kB / 1.012 GB, free: 13.36 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002586/0.4199, allocations: 0.5286 MB / 1.012 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006096/0.426, allocations: 2.552 MB / 1.015 GB, free: 10.22 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000745/0.4267, allocations: 1.059 MB / 1.016 GB, free: 9.129 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002947/0.427, allocations: 91.41 kB / 1.016 GB, free: 9.043 MB / 0.6667 GB Notification: Performance of SimCode: time 1.462e-06/0.427, allocations: 0 / 1.016 GB, free: 9.043 MB / 0.6667 GB Notification: Performance of Templates: time 0.0348/0.4618, allocations: 24.12 MB / 1.039 GB, free: 1.043 MB / 0.6823 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)