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.001139/0.001139, allocations: 108.1 kB / 15.99 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 191.4 kB / 16.91 MB, free: 5.758 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.424/1.424, allocations: 205.1 MB / 222.8 MB, free: 4.574 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.683/1.683, allocations: 292.3 MB / 0.5492 GB, free: 13.64 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.001412/0.001412, allocations: 67.81 kB / 0.6716 GB, free: 26.5 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2567, allocations: 114.5 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.0549/0.3116, allocations: 60.75 MB / 0.8428 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01594/0.3276, allocations: 11.83 MB / 0.8544 GB, free: 5.082 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002657/0.3303, allocations: 55.62 kB / 0.8544 GB, free: 5.027 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002094/0.3325, allocations: 0.5828 MB / 0.855 GB, free: 4.441 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005839/0.3383, allocations: 1.808 MB / 0.8568 GB, free: 2.625 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00321/0.3416, allocations: 1.119 MB / 0.8579 GB, free: 1.52 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004484/0.3461, allocations: 3.098 MB / 0.8609 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001653/0.3477, allocations: 1.1 MB / 0.862 GB, free: 13.28 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003302/0.3511, allocations: 1.337 MB / 0.8633 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001477/0.3525, allocations: 0.9373 MB / 0.8642 GB, free: 11 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001738/0.3527, allocations: 120 kB / 0.8643 GB, free: 10.88 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002842/0.3556, allocations: 1.462 MB / 0.8657 GB, free: 9.414 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003095/0.3559, allocations: 302.8 kB / 0.866 GB, free: 9.117 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0008239/0.3567, allocations: 0.7036 MB / 0.8667 GB, free: 8.41 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002608/0.3594, allocations: 1.774 MB / 0.8684 GB, free: 6.633 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.3594, allocations: 0 / 0.8684 GB, free: 6.633 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.776e-06/0.3594, allocations: 0 / 0.8684 GB, free: 6.633 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.685e-05/0.3594, allocations: 0 / 0.8684 GB, free: 6.633 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.003142/0.3626, allocations: 1.742 MB / 0.8701 GB, free: 4.828 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.3626, allocations: 12.02 kB / 0.8701 GB, free: 4.816 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002096/0.3647, allocations: 410.8 kB / 0.8705 GB, free: 4.414 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002131/0.3669, allocations: 1.128 MB / 0.8716 GB, free: 3.23 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003373/0.3672, allocations: 125.9 kB / 0.8718 GB, free: 3.105 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.3673, allocations: 84 kB / 0.8718 GB, free: 3.023 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002007/0.3694, allocations: 0.9722 MB / 0.8728 GB, free: 2.016 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.3694, allocations: 0 / 0.8728 GB, free: 2.016 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-05/0.3695, allocations: 32 kB / 0.8728 GB, free: 1.984 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.909e-05/0.3695, allocations: 27.98 kB / 0.8728 GB, free: 1.957 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002175/0.3717, allocations: 0.8859 MB / 0.8737 GB, free: 1.07 MB / 0.6856 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.006344/0.378, allocations: 4.58 MB / 0.8782 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003287/0.3813, allocations: 0.8437 MB / 0.879 GB, free: 11.33 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007259/0.3821, allocations: 322 kB / 0.8793 GB, free: 11.02 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006715/0.3828, allocations: 0.9029 MB / 0.8802 GB, free: 9.91 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.3828, allocations: 42.94 kB / 0.8802 GB, free: 9.859 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=48): time 2.425e-06/0.3828, allocations: 0 / 0.8802 GB, free: 9.859 MB / 0.7012 GB Notification: Performance of matching and sorting (n=48): time 0.008477/0.3913, allocations: 1.975 MB / 0.8822 GB, free: 7.852 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.3914, allocations: 59.78 kB / 0.8822 GB, free: 7.781 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001666/0.3931, allocations: 1.055 MB / 0.8833 GB, free: 6.711 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001024/0.3932, allocations: 33.7 kB / 0.8833 GB, free: 6.672 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003927/0.3936, allocations: 0.5197 MB / 0.8838 GB, free: 6.148 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001544/0.3937, allocations: 169.6 kB / 0.884 GB, free: 5.98 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002327/0.394, allocations: 134 kB / 0.8841 GB, free: 5.84 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.3941, allocations: 333.9 kB / 0.8844 GB, free: 5.508 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000859/0.395, allocations: 326.8 kB / 0.8847 GB, free: 5.188 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/0.396, allocations: 0.5047 MB / 0.8852 GB, free: 4.605 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00158/0.3976, allocations: 0.6855 MB / 0.8859 GB, free: 3.871 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.3976, allocations: 4 kB / 0.8859 GB, free: 3.867 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003645/0.4012, allocations: 1.159 MB / 0.887 GB, free: 2.699 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.4013, allocations: 8 kB / 0.887 GB, free: 2.691 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.4013, allocations: 3.984 kB / 0.887 GB, free: 2.688 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001241/0.4026, allocations: 315.7 kB / 0.8873 GB, free: 2.379 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005591/0.4031, allocations: 135.7 kB / 0.8874 GB, free: 2.246 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001391/0.4045, allocations: 0.9074 MB / 0.8883 GB, free: 1.312 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/0.406, allocations: 183.2 kB / 0.8885 GB, free: 1.133 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.399e-05/0.4061, allocations: 31.98 kB / 0.8885 GB, free: 1.102 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001222/0.4073, allocations: 0.5166 MB / 0.889 GB, free: 0.582 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009913/0.4083, allocations: 0.5117 MB / 0.8895 GB, free: 15.99 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001539/0.4098, allocations: 0.6777 MB / 0.8902 GB, free: 15.26 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.731e-06/0.4099, allocations: 8 kB / 0.8902 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.003425/0.4133, allocations: 1.139 MB / 0.8913 GB, free: 14.1 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.4133, allocations: 4 kB / 0.8913 GB, free: 14.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.4133, allocations: 7.984 kB / 0.8913 GB, free: 14.09 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001107/0.4145, allocations: 312.7 kB / 0.8916 GB, free: 13.78 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005281/0.415, allocations: 127.8 kB / 0.8918 GB, free: 13.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001367/0.4164, allocations: 0.9221 MB / 0.8927 GB, free: 12.71 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/0.4178, allocations: 155.5 kB / 0.8928 GB, free: 12.56 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.655e-05/0.4179, allocations: 35.98 kB / 0.8928 GB, free: 12.52 MB / 0.7169 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.0002916/0.4182, allocations: 219 kB / 0.8931 GB, free: 12.3 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003275/0.4185, allocations: 110.6 kB / 0.8932 GB, free: 12.2 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003909/0.4224, allocations: 1.155 MB / 0.8943 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.928e-05/0.4225, allocations: 7.938 kB / 0.8943 GB, free: 11.01 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.437e-06/0.4225, allocations: 0 / 0.8943 GB, free: 11.01 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.826e-06/0.4225, allocations: 7.984 kB / 0.8943 GB, free: 11 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005592/0.4281, allocations: 2.237 MB / 0.8965 GB, free: 8.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.929e-06/0.4282, allocations: 4 kB / 0.8965 GB, free: 8.684 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003162/0.4285, allocations: 80.16 kB / 0.8966 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001026/0.4295, allocations: 311.3 kB / 0.8969 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.955e-05/0.4296, allocations: 15.98 kB / 0.8969 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00146/0.431, allocations: 0.9464 MB / 0.8978 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/0.4311, allocations: 4 kB / 0.8978 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003831/0.4349, allocations: 1.22 MB / 0.899 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006536/0.4356, allocations: 271.5 kB / 0.8993 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003005/0.4359, allocations: 12 kB / 0.8993 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/0.437, allocations: 99.8 kB / 0.8994 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.4371, allocations: 43.25 kB / 0.8994 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.897e-05/0.4372, allocations: 23.98 kB / 0.8994 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001446/0.4386, allocations: 0.7391 MB / 0.9001 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4386, allocations: 0 / 0.9001 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001957/0.4406, allocations: 0.5692 MB / 0.9007 GB, free: 4.258 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.001066/0.4417, allocations: 395.2 kB / 0.9011 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003473/0.4452, allocations: 1.175 MB / 0.9022 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/0.4452, allocations: 0 / 0.9022 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009618/0.4462, allocations: 378.7 kB / 0.9026 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002877/0.449, allocations: 0.535 MB / 0.9031 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006161/0.4552, allocations: 2.489 MB / 0.9055 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008053/0.4561, allocations: 1.07 MB / 0.9066 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003747/0.4565, allocations: 87.41 kB / 0.9067 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of SimCode: time 9.62e-07/0.4565, allocations: 0 / 0.9067 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of Templates: time 0.4418/0.8983, allocations: 24.3 MB / 0.9304 GB, free: 134 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)