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.001252/0.001252, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001471/0.001471, allocations: 192.2 kB / 16.25 MB, free: 6.629 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.448/1.448, allocations: 205.1 MB / 222.1 MB, free: 4.738 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.661/1.661, allocations: 292.2 MB / 0.5485 GB, free: 13.63 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.001357/0.001357, allocations: 69.3 kB / 0.671 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2324, allocations: 114.5 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.05614/0.2886, allocations: 60.74 MB / 0.8422 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01637/0.305, allocations: 11.83 MB / 0.8537 GB, free: 5.098 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002388/0.3074, allocations: 51.69 kB / 0.8538 GB, free: 5.047 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002392/0.3099, allocations: 0.5828 MB / 0.8543 GB, free: 4.461 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006648/0.3166, allocations: 1.812 MB / 0.8561 GB, free: 2.641 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003277/0.3199, allocations: 1.11 MB / 0.8572 GB, free: 1.539 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004625/0.3245, allocations: 3.094 MB / 0.8602 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001657/0.3262, allocations: 1.1 MB / 0.8613 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003189/0.3294, allocations: 1.344 MB / 0.8626 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001394/0.3308, allocations: 0.9412 MB / 0.8635 GB, free: 11.01 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001912/0.331, allocations: 116 kB / 0.8636 GB, free: 10.9 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002603/0.3336, allocations: 1.47 MB / 0.8651 GB, free: 9.426 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.00029/0.3339, allocations: 298.8 kB / 0.8654 GB, free: 9.133 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007637/0.3347, allocations: 0.7075 MB / 0.866 GB, free: 8.422 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003417/0.3381, allocations: 2.318 MB / 0.8683 GB, free: 6.098 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3381, allocations: 0 / 0.8683 GB, free: 6.098 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.854e-06/0.3382, allocations: 0 / 0.8683 GB, free: 6.098 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.896e-05/0.3382, allocations: 4 kB / 0.8683 GB, free: 6.094 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.003008/0.3412, allocations: 1.738 MB / 0.87 GB, free: 4.293 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.3412, allocations: 8.031 kB / 0.87 GB, free: 4.285 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002156/0.3434, allocations: 406.8 kB / 0.8704 GB, free: 3.887 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002005/0.3454, allocations: 1.136 MB / 0.8715 GB, free: 2.695 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00035/0.3458, allocations: 117.9 kB / 0.8716 GB, free: 2.578 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.3459, allocations: 80 kB / 0.8717 GB, free: 2.5 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001989/0.3479, allocations: 0.98 MB / 0.8727 GB, free: 1.484 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.348, allocations: 0 / 0.8727 GB, free: 1.484 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.051e-05/0.348, allocations: 32 kB / 0.8727 GB, free: 1.453 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.757e-05/0.3481, allocations: 23.94 kB / 0.8727 GB, free: 1.43 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002268/0.3503, allocations: 0.8821 MB / 0.8736 GB, free: 0.5469 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.006289/0.3566, allocations: 4.592 MB / 0.8781 GB, free: 11.65 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003401/0.3601, allocations: 0.8396 MB / 0.8789 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007336/0.3608, allocations: 318 kB / 0.8792 GB, free: 10.49 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006606/0.3615, allocations: 0.9029 MB / 0.8801 GB, free: 9.383 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.3615, allocations: 43 kB / 0.8801 GB, free: 9.332 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=48): time 1.883e-06/0.3615, allocations: 3.938 kB / 0.8801 GB, free: 9.328 MB / 0.7012 GB Notification: Performance of matching and sorting (n=48): time 0.008621/0.3702, allocations: 1.982 MB / 0.882 GB, free: 7.312 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.3702, allocations: 59.84 kB / 0.8821 GB, free: 7.242 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001601/0.3719, allocations: 1.055 MB / 0.8831 GB, free: 6.172 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.000103/0.372, allocations: 37.7 kB / 0.8832 GB, free: 6.129 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004074/0.3724, allocations: 0.5119 MB / 0.8837 GB, free: 5.613 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001539/0.3725, allocations: 165.6 kB / 0.8838 GB, free: 5.449 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002258/0.3728, allocations: 138 kB / 0.884 GB, free: 5.305 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.3729, allocations: 330 kB / 0.8843 GB, free: 4.977 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008634/0.3738, allocations: 322.8 kB / 0.8846 GB, free: 4.66 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001068/0.3749, allocations: 0.504 MB / 0.8851 GB, free: 4.078 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001633/0.3765, allocations: 0.6972 MB / 0.8858 GB, free: 3.332 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.3765, allocations: 0 / 0.8858 GB, free: 3.332 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003591/0.3801, allocations: 1.155 MB / 0.8869 GB, free: 2.168 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.3801, allocations: 8 kB / 0.8869 GB, free: 2.16 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.3802, allocations: 4 kB / 0.8869 GB, free: 2.156 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001246/0.3814, allocations: 320.9 kB / 0.8872 GB, free: 1.84 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005763/0.382, allocations: 127.8 kB / 0.8873 GB, free: 1.715 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001433/0.3835, allocations: 0.9135 MB / 0.8882 GB, free: 0.7773 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/0.3848, allocations: 175.2 kB / 0.8884 GB, free: 0.6055 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.708e-05/0.3849, allocations: 27.98 kB / 0.8884 GB, free: 0.5781 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001201/0.3861, allocations: 0.5251 MB / 0.8889 GB, free: 52 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001029/0.3871, allocations: 0.504 MB / 0.8894 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001567/0.3887, allocations: 0.6894 MB / 0.8901 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.198e-06/0.3887, allocations: 4 kB / 0.8901 GB, free: 14.72 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.00346/0.3922, allocations: 1.139 MB / 0.8912 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.3922, allocations: 8 kB / 0.8912 GB, free: 13.56 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.3922, allocations: 4 kB / 0.8912 GB, free: 13.56 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001086/0.3933, allocations: 308.9 kB / 0.8915 GB, free: 13.25 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005409/0.3939, allocations: 123.8 kB / 0.8916 GB, free: 13.13 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001381/0.3953, allocations: 0.9113 MB / 0.8925 GB, free: 12.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/0.3966, allocations: 167.5 kB / 0.8927 GB, free: 12.03 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-05/0.3967, allocations: 27.98 kB / 0.8927 GB, free: 12 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.0002421/0.3969, allocations: 208.2 kB / 0.8929 GB, free: 11.79 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001916/0.3971, allocations: 122.5 kB / 0.893 GB, free: 11.67 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003791/0.4009, allocations: 1.155 MB / 0.8941 GB, free: 10.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/0.4009, allocations: 12 kB / 0.8942 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.401, allocations: 0 / 0.8942 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/0.401, allocations: 3.984 kB / 0.8942 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005161/0.4061, allocations: 2.249 MB / 0.8964 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.4062, allocations: 0 / 0.8964 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003091/0.4065, allocations: 75.88 kB / 0.8964 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009833/0.4075, allocations: 303.6 kB / 0.8967 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.315e-05/0.4075, allocations: 19.98 kB / 0.8967 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001396/0.4089, allocations: 0.9347 MB / 0.8976 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.4089, allocations: 7.969 kB / 0.8977 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003567/0.4125, allocations: 1.224 MB / 0.8989 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004138/0.4129, allocations: 271.5 kB / 0.8991 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001528/0.4131, allocations: 16 kB / 0.8991 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008774/0.414, allocations: 95.8 kB / 0.8992 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.016e-05/0.4141, allocations: 35.33 kB / 0.8993 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.749e-05/0.4141, allocations: 31.97 kB / 0.8993 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001054/0.4152, allocations: 0.743 MB / 0.9 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4152, allocations: 0 / 0.9 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001418/0.4166, allocations: 0.5653 MB / 0.9006 GB, free: 3.738 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.000748/0.4174, allocations: 396.6 kB / 0.9009 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003143/0.4206, allocations: 1.179 MB / 0.9021 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.4206, allocations: 7.938 kB / 0.9021 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009094/0.4215, allocations: 382.7 kB / 0.9025 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002231/0.4238, allocations: 0.5268 MB / 0.903 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005221/0.429, allocations: 2.454 MB / 0.9054 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006127/0.4296, allocations: 1.062 MB / 0.9064 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0009861/0.4306, allocations: 236.8 kB / 0.9066 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002045/0.4308, allocations: 87.36 kB / 0.9067 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of SimCode: time 7.11e-07/0.4308, allocations: 0 / 0.9067 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of Templates: time 0.3737/0.8045, allocations: 25.38 MB / 0.9315 GB, free: 131.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)