Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 187.7 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.486/1.486, allocations: 205.1 MB / 222.5 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.817/1.817, allocations: 292.3 MB / 0.549 GB, free: 12.76 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 65.86 kB / 0.6722 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.2261, allocations: 114.6 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.06125/0.2874, allocations: 61.24 MB / 0.8439 GB, free: 15.27 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0189/0.3064, allocations: 11.9 MB / 0.8555 GB, free: 3.344 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002271/0.3087, allocations: 63.62 kB / 0.8556 GB, free: 3.281 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002315/0.3111, allocations: 0.683 MB / 0.8563 GB, free: 2.594 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005655/0.3167, allocations: 1.939 MB / 0.8582 GB, free: 0.6445 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00325/0.32, allocations: 1.233 MB / 0.8594 GB, free: 15.42 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003895/0.3239, allocations: 3.077 MB / 0.8624 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001479/0.3254, allocations: 1.108 MB / 0.8635 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002813/0.3282, allocations: 1.349 MB / 0.8648 GB, free: 9.848 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001279/0.3295, allocations: 0.9023 MB / 0.8657 GB, free: 8.941 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001555/0.3297, allocations: 116 kB / 0.8658 GB, free: 8.828 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002728/0.3324, allocations: 1.458 MB / 0.8672 GB, free: 7.367 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003009/0.3328, allocations: 298.8 kB / 0.8675 GB, free: 7.074 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0008985/0.3337, allocations: 0.6997 MB / 0.8682 GB, free: 6.371 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004434/0.3381, allocations: 2.325 MB / 0.8704 GB, free: 4.039 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.3381, allocations: 7.938 kB / 0.8704 GB, free: 4.031 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3381, allocations: 3.938 kB / 0.8704 GB, free: 4.027 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.426e-05/0.3382, allocations: 0 / 0.8704 GB, free: 4.027 MB / 0.6856 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.003117/0.3413, allocations: 1.734 MB / 0.8721 GB, free: 2.23 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.3414, allocations: 8.031 kB / 0.8721 GB, free: 2.223 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002073/0.3434, allocations: 410.8 kB / 0.8725 GB, free: 1.82 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002212/0.3457, allocations: 1.171 MB / 0.8737 GB, free: 0.5938 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.651e-05/0.3457, allocations: 62 kB / 0.8737 GB, free: 0.5312 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.3458, allocations: 84 kB / 0.8738 GB, free: 460 kB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001989/0.3478, allocations: 0.9998 MB / 0.8748 GB, free: 15.4 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.3479, allocations: 3.938 kB / 0.8748 GB, free: 15.39 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.02e-05/0.348, allocations: 32 kB / 0.8748 GB, free: 15.36 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.878e-05/0.348, allocations: 23.94 kB / 0.8749 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002214/0.3502, allocations: 0.8703 MB / 0.8757 GB, free: 14.47 MB / 0.7012 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.006404/0.3566, allocations: 4.956 MB / 0.8805 GB, free: 9.188 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003265/0.3599, allocations: 0.8358 MB / 0.8814 GB, free: 8.344 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007467/0.3607, allocations: 318 kB / 0.8817 GB, free: 8.031 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006501/0.3613, allocations: 0.9029 MB / 0.8825 GB, free: 6.926 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.3614, allocations: 43 kB / 0.8826 GB, free: 6.875 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=48): time 1.934e-06/0.3614, allocations: 0 / 0.8826 GB, free: 6.875 MB / 0.7012 GB Notification: Performance of matching and sorting (n=48): time 0.008294/0.3697, allocations: 1.916 MB / 0.8845 GB, free: 4.926 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.3697, allocations: 55.84 kB / 0.8845 GB, free: 4.859 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001649/0.3714, allocations: 1.076 MB / 0.8856 GB, free: 3.77 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.091e-05/0.3715, allocations: 37.7 kB / 0.8856 GB, free: 3.727 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004184/0.3719, allocations: 0.5273 MB / 0.8861 GB, free: 3.195 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/0.3721, allocations: 169.6 kB / 0.8863 GB, free: 3.027 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002364/0.3723, allocations: 142.1 kB / 0.8864 GB, free: 2.883 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.3724, allocations: 326 kB / 0.8867 GB, free: 2.559 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008933/0.3733, allocations: 327.2 kB / 0.887 GB, free: 2.234 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001087/0.3744, allocations: 0.5318 MB / 0.8875 GB, free: 1.605 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001688/0.3761, allocations: 0.7259 MB / 0.8883 GB, free: 0.8242 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.3761, allocations: 4 kB / 0.8883 GB, free: 0.8203 MB / 0.7012 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.003676/0.3798, allocations: 1.186 MB / 0.8894 GB, free: 15.62 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.3799, allocations: 11.88 kB / 0.8894 GB, free: 15.61 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.3799, allocations: 7.938 kB / 0.8894 GB, free: 15.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001226/0.3811, allocations: 320.5 kB / 0.8897 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000564/0.3817, allocations: 127.8 kB / 0.8899 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001407/0.3831, allocations: 0.9018 MB / 0.8907 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001221/0.3843, allocations: 163.2 kB / 0.8909 GB, free: 14.07 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.22e-05/0.3844, allocations: 35.98 kB / 0.8909 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001229/0.3857, allocations: 0.5246 MB / 0.8914 GB, free: 13.51 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001072/0.3868, allocations: 0.5318 MB / 0.892 GB, free: 12.89 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001654/0.3884, allocations: 0.7181 MB / 0.8927 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.408e-06/0.3884, allocations: 3.938 kB / 0.8927 GB, free: 12.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=75) (initialization_lambda0): time 0.003483/0.3919, allocations: 1.17 MB / 0.8938 GB, free: 10.92 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.392, allocations: 8 kB / 0.8938 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.392, allocations: 4 kB / 0.8938 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001095/0.3931, allocations: 300.6 kB / 0.8941 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005926/0.3937, allocations: 135.8 kB / 0.8942 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001328/0.395, allocations: 0.8988 MB / 0.8951 GB, free: 9.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001204/0.3962, allocations: 139.5 kB / 0.8953 GB, free: 9.418 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.31e-05/0.3963, allocations: 35.97 kB / 0.8953 GB, free: 9.383 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (61): * Single equations (assignments): 60 * 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.0002221/0.3965, allocations: 216.1 kB / 0.8955 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002327/0.3968, allocations: 114.6 kB / 0.8956 GB, free: 9.051 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003745/0.4005, allocations: 1.135 MB / 0.8967 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.712e-05/0.4006, allocations: 11.98 kB / 0.8967 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.4006, allocations: 0 / 0.8967 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.4006, allocations: 4 kB / 0.8967 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005435/0.406, allocations: 2.234 MB / 0.8989 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.159e-05/0.4061, allocations: 4 kB / 0.8989 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003285/0.4064, allocations: 75.88 kB / 0.899 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009983/0.4074, allocations: 287.5 kB / 0.8993 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-05/0.4075, allocations: 20 kB / 0.8993 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001409/0.4089, allocations: 0.9307 MB / 0.9002 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.4089, allocations: 4.062 kB / 0.9002 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003799/0.4127, allocations: 1.205 MB / 0.9014 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005675/0.4133, allocations: 271.5 kB / 0.9016 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002331/0.4136, allocations: 23.86 kB / 0.9016 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008793/0.4145, allocations: 67.92 kB / 0.9017 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.377e-05/0.4146, allocations: 47.31 kB / 0.9018 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-05/0.4146, allocations: 27.98 kB / 0.9018 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001327/0.416, allocations: 0.7473 MB / 0.9025 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.3e-07/0.416, allocations: 0 / 0.9025 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001665/0.4176, allocations: 0.577 MB / 0.9031 GB, free: 1.191 MB / 0.7169 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.000909/0.4186, allocations: 410.2 kB / 0.9035 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003365/0.4219, allocations: 1.181 MB / 0.9046 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.422, allocations: 3.938 kB / 0.9046 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009568/0.4229, allocations: 374.8 kB / 0.905 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002494/0.4254, allocations: 0.5296 MB / 0.9055 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005266/0.4307, allocations: 2.039 MB / 0.9075 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006966/0.4314, allocations: 1.066 MB / 0.9085 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000986/0.4324, allocations: 245 kB / 0.9088 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002155/0.4327, allocations: 75.42 kB / 0.9088 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of SimCode: time 9.02e-07/0.4327, allocations: 0 / 0.9088 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of Templates: time 0.4042/0.8369, allocations: 25.77 MB / 0.934 GB, free: 132.4 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)